Author: Michael Liao Date: 2025-11-18T10:17:49-05:00 New Revision: cc0c899765db2c9a2ec16ff11824a8c1055174bb
URL: https://github.com/llvm/llvm-project/commit/cc0c899765db2c9a2ec16ff11824a8c1055174bb DIFF: https://github.com/llvm/llvm-project/commit/cc0c899765db2c9a2ec16ff11824a8c1055174bb.diff LOG: [clang][CIR] Temporarily fix CIR codegen test on call. NFC - MemoryEffectsAttr in MLIR LLVM dialect is out of sync with LLVM itself. Added: Modified: clang/test/CIR/CodeGen/call.c Removed: ################################################################################ diff --git a/clang/test/CIR/CodeGen/call.c b/clang/test/CIR/CodeGen/call.c index d780e37f3d153..99ae4506b1f16 100644 --- a/clang/test/CIR/CodeGen/call.c +++ b/clang/test/CIR/CodeGen/call.c @@ -130,7 +130,7 @@ int f12(void) { // OGCG: %{{.+}} = call i32 @f10(i32 noundef 1) #[[ATTR0:.+]] // OGCG-NEXT: %{{.+}} = call i32 @f11(i32 noundef 2) #[[ATTR1:.+]] -// LLVM: attributes #[[ATTR0]] = { nounwind willreturn memory(read, errnomem: none) } +// LLVM: attributes #[[ATTR0]] = { nounwind willreturn memory(read, errnomem: none, target_mem0: none, target_mem1: none) } // LLVM: attributes #[[ATTR1]] = { nounwind willreturn memory(none) } // OGCG: attributes #[[ATTR0]] = { nounwind willreturn memory(read) } _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
