[clang] [flang] [llvm] [IR] Convert from nocapture to captures(none) (PR #123181)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 21 01:25:52 PST 2025
================
@@ -526,6 +526,11 @@ static AttributeSet getIntrinsicArgAttributeSet(LLVMContext &C, unsigned ID) {
)",
ID);
for (const CodeGenIntrinsic::ArgAttribute &Attr : Attrs) {
+ if (Attr.Kind == CodeGenIntrinsic::NoCapture) {
----------------
fhahn wrote:
Should NoCapture->CapturesNone (or something like that) here as well for consistency? Although might further increase the diff :)
https://github.com/llvm/llvm-project/pull/123181
More information about the llvm-commits
mailing list