[PATCH] D21295: Add a negative TBAA test

James Molloy via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 13 09:50:53 PDT 2016


jmolloy added a subscriber: jmolloy.

================
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{{ *$}}
----------------
Would it just be simpler to do:

    // NO-TBAA-NOT: !tbaa

at the top of the file?


http://reviews.llvm.org/D21295





More information about the cfe-commits mailing list