================
@@ -155,15 +153,11 @@ void eh_cleanup() {
 // CIR-EH:           cir.lifetime.end %[[X]] : !cir.ptr<!s32i>
 // CIR-EH:         }
 
-// LLVM-EH-LABEL: define{{.*}} void @_Z10eh_cleanupv()
+// LLVM-EH-LABEL: define{{.*}} void @_Z10eh_cleanupv() #{{[0-9]+}} {
----------------
andykaylor wrote:

This change is unnecessary. Let's not introduce a dependency on the attribute 
representation when we don't need to check the attribute. It the purpose was to 
verify that we didn't emit a personality function, use `LLVM-EH-NOT` on the 
next line. That makes it clear what we're really testing.

https://github.com/llvm/llvm-project/pull/224829
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to