russell.gallop updated this revision to Diff 239808. russell.gallop added a comment.
Update to check for start of metadata. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D73162/new/ https://reviews.llvm.org/D73162 Files: clang/test/CodeGen/loop-unroll.c Index: clang/test/CodeGen/loop-unroll.c =================================================================== --- clang/test/CodeGen/loop-unroll.c +++ clang/test/CodeGen/loop-unroll.c @@ -37,9 +37,11 @@ // CHECK-DISABLE-UNROLL-NOT: fmul // CHECK-DISABLE-UNROLL-NOT: fadd // CHECK-DISABLE-UNROLL-NOT: store +// Limit scope of checking so this does not match "fadd" within git version string +// CHECK-DISABLE-UNROLL: !0 = int printf(const char * restrict format, ...); void for_test() { double A[1000], B[1000]; int L = 500;
Index: clang/test/CodeGen/loop-unroll.c =================================================================== --- clang/test/CodeGen/loop-unroll.c +++ clang/test/CodeGen/loop-unroll.c @@ -37,9 +37,11 @@ // CHECK-DISABLE-UNROLL-NOT: fmul // CHECK-DISABLE-UNROLL-NOT: fadd // CHECK-DISABLE-UNROLL-NOT: store +// Limit scope of checking so this does not match "fadd" within git version string +// CHECK-DISABLE-UNROLL: !0 = int printf(const char * restrict format, ...); void for_test() { double A[1000], B[1000]; int L = 500;
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits