================
@@ -31,7 +31,7 @@ A *a() {
// LLVM: define {{.*}} ptr @_Z1av() {{.*}} personality ptr
@__gxx_personality_v0 {
// LLVM: %[[RETVAL:.*]] = alloca ptr
// LLVM: %[[NEW_RESULT:.*]] = alloca ptr
-// LLVM: %[[PTR:.*]] = call ptr @_Znwm(i64 8) #[[ATTR_BUILTIN_NEW:.*]]
+// LLVM: %[[PTR:.*]] = call nonnull ptr @_Znwm(i64 8)
#[[ATTR_BUILTIN_NEW:.*]]
----------------
andykaylor wrote:
I like that you're checking this here, but if we're going to do that, we should
also check the attributes on the OGCG call.
https://github.com/llvm/llvm-project/pull/188281
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits