[clang] 4662f6e - [test] Avoid loop-unroll.c test getting confused by fadd in git revision

Russell Gallop via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 23 01:36:28 PST 2020


Author: Russell Gallop
Date: 2020-01-23T09:27:16Z
New Revision: 4662f6e1c7781bea5cc836948b1aa67f58b8b98d

URL: https://github.com/llvm/llvm-project/commit/4662f6e1c7781bea5cc836948b1aa67f58b8b98d
DIFF: https://github.com/llvm/llvm-project/commit/4662f6e1c7781bea5cc836948b1aa67f58b8b98d.diff

LOG: [test] Avoid loop-unroll.c test getting confused by fadd in git revision

Differential Revision: https://reviews.llvm.org/D73162

Added: 
    

Modified: 
    clang/test/CodeGen/loop-unroll.c

Removed: 
    


################################################################################
diff  --git a/clang/test/CodeGen/loop-unroll.c b/clang/test/CodeGen/loop-unroll.c
index 601bf43d8267..7c79ed28b0e7 100644
--- a/clang/test/CodeGen/loop-unroll.c
+++ b/clang/test/CodeGen/loop-unroll.c
@@ -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, ...);
 


        


More information about the cfe-commits mailing list