[clang] [llvm] [OpenMP] Emit aggregate kernel prototypes and remove libffi dependency (PR #186261)

Abhinav Gaba via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 16 15:02:04 PDT 2026


================
@@ -1088,22 +1088,28 @@ int bar(int n){
 //
 //
 // CHECK9-LABEL: define {{[^@]+}}@{{__omp_offloading_[0-9a-z]+_[0-9a-z]+}}__ZL7fstatici_l61
-// CHECK9-SAME: (i64 noundef [[DOTCAPTURE_EXPR_:%.*]], ptr noundef nonnull align 1 dereferenceable(4) [[DOTCAPTURE_EXPR_1:%.*]], ptr noalias noundef [[DYN_PTR:%.*]]) #[[ATTR0:[0-9]+]] {
----------------
abhinavgaba wrote:

Do we care about losing these parameter specific attributes, like `dereferenceable` and `noalias`?

https://github.com/llvm/llvm-project/pull/186261


More information about the cfe-commits mailing list