David Rivera

Results comments of David Rivera

@bcardosolopes I'll take on this. Few things though: Since `CGM.getIntrinsic` wraps `Intrinsic::getOrInsertDeclaration()` and helpers rely on Codegen Specifics (like llvm::Module), I guess the way forward would be to replicate what's...

Something else @bcardosolopes , I've opened a draft: https://github.com/llvm/clangir/pull/1710. I've highlighted the major roadblocks and limitations I've found so far, would appreciate any feedback :)

> [@RiverDave](https://github.com/RiverDave) I was out on extended holiday on the US, will take a look soon. It's possible you could use tablegen to generate the boilerplate necessary (instead of replicating...

This looks quite challenging and fun. II'll try to spend some time on this along with my work going on with X86.

I think it's fair to close this. All of the tests highlighted were fixed in most of these PR's: https://github.com/pulls?q=is%3Apr+author%3ARiverDave+archived%3Afalse+CUDA+is%3Aclosed I'll open another issue soon, tracking some of the missing...

> > cc. @bcardosolopes > > I usually don't look at draft PRs so I didn't see this. Is it still relevant? Please publish when you feel it's ready or...

Under `--no-offload-new-driver`, we're now creating the proper Action graph for CUDA: ``` +- 0: input, "/tmp/test_cu.cu", cuda, (host-cuda) +- 1: preprocessor, {0}, cuda-cpp-output, (host-cuda) +- 2: compiler, {1}, cir, (host-cuda)...

Interestingly enough, this is caught with `-Wunused-parameter` see: ``` test_coroutines.cpp:18:18: warning: unused parameter 'my_param' [-Wunused-parameter] 18 | task f_async(int x) | ```

According to the [docs](https://clang.llvm.org/extra/clang-tidy/checks/cppcoreguidelines/pro-type-member-init.html): > The check takes assignment of fields in the constructor body into account but generates false positives for fields initialized in methods invoked in the constructor...