[test] Avoid loop-unroll.c test getting confused by fadd in git revision
authorRussell Gallop <russell.gallop@sony.com>
Thu, 23 Jan 2020 09:27:16 +0000 (09:27 +0000)
committerRussell Gallop <russell.gallop@sony.com>
Thu, 23 Jan 2020 09:27:16 +0000 (09:27 +0000)
Differential Revision: https://reviews.llvm.org/D73162

clang/test/CodeGen/loop-unroll.c

index 601bf43..7c79ed2 100644 (file)
@@ -37,6 +37,8 @@
 // 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, ...);