[llvm] [Attributor][FIX] Ensure to always translate call site arguments (PR #107323)

Johannes Doerfert via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 5 09:21:41 PDT 2024


================
@@ -201,7 +201,7 @@ declare void @unknown_no_openmp() "llvm.assume"="omp_no_openmp"
 ; CHECK-NEXT:    ret void
 ;
 ;
-; CHECK: Function Attrs: norecurse nosync nounwind allocsize(0) memory(read)
----------------
jdoerfert wrote:

> The "dropped" attributes are simply dropped because we do not query them anymore, not because we cannot derive them.

We never end up asking if this is norecurse, and OpenMP-opt doesn't derive this by default.

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


More information about the llvm-commits mailing list