[PATCH] D21295: Add a negative TBAA test

Roger Ferrer Ibanez via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 13 09:53:36 PDT 2016


rogfer01 added inline comments.

================
Comment at: test/CodeGen/tbaa.cpp:57
@@ +56,3 @@
+// NO-TBAA-LABEL: define i32 @_Z1g
+// NO-TBAA: store i32 1, i32* %{{.*}}, align 4{{ *$}}
+// NO-TBAA: store i32 4, i32* %{{.*}}, align 4{{ *$}}
----------------
jmolloy wrote:
> Would it just be simpler to do:
> 
>     // NO-TBAA-NOT: !tbaa
> 
> at the top of the file?
I'll check that. If it works the patch will become so much simpler!


http://reviews.llvm.org/D21295





More information about the cfe-commits mailing list