Skip to content

Commit 4662f6e

Browse files
committed
[test] Avoid loop-unroll.c test getting confused by fadd in git revision
Differential Revision: https://reviews.llvm.org/D73162
1 parent 5f6ff71 commit 4662f6e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

clang/test/CodeGen/loop-unroll.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@
3737
// CHECK-DISABLE-UNROLL-NOT: fmul
3838
// CHECK-DISABLE-UNROLL-NOT: fadd
3939
// CHECK-DISABLE-UNROLL-NOT: store
40+
// Limit scope of checking so this does not match "fadd" within git version string
41+
// CHECK-DISABLE-UNROLL: !0 =
4042

4143
int printf(const char * restrict format, ...);
4244

0 commit comments

Comments
 (0)