russell.gallop created this revision. russell.gallop added a reviewer: asbirlea. Herald added a subscriber: zzheng. Herald added a project: clang.
Saw this test failing as it was matching fadd in a (local) git revision: F:\git\llvm-project\clang\test\CodeGen\loop-unroll.c:38:30: error: CHECK-DISABLE-UNROLL-NOT: excluded string found in input // CHECK-DISABLE-UNROLL-NOT: fadd ^ <stdin>:69:92: note: found here !1 = !{!"clang version 11.0.0 (https://github.com/llvm/llvm-project.git a3eebdb6c1376e528a6fadd5eb33bb6eb986a126)"} Repository: rG LLVM Github Monorepo 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 @@ -12,15 +12,15 @@ // CHECK-ENABLE-UNROLL: br i1 %[[EXITCOND:[a-z0-9_\.]+]], label %[[FORBODY5:[a-z0-9_\.]+]], label %[[FORBODY]] // CHECK-ENABLE-UNROLL: [[FORBODY5]]: // CHECK-ENABLE-UNROLL: fmul -// CHECK-ENABLE-UNROLL: fadd +// CHECK-ENABLE-UNROLL: fadd double // CHECK-ENABLE-UNROLL: store // CHECK-ENABLE-UNROLL: fmul -// CHECK-ENABLE-UNROLL: fadd +// CHECK-ENABLE-UNROLL: fadd double // CHECK-ENABLE-UNROLL: store // CHECK-ENABLE-UNROLL: fmul -// CHECK-ENABLE-UNROLL: fadd +// CHECK-ENABLE-UNROLL: fadd double // CHECK-ENABLE-UNROLL: store // CHECK-DISABLE-UNROLL-LABEL: @for_test() // CHECK-DISABLE-UNROLL: br label %[[FORBODY:[a-z0-9_\.]+]] // CHECK-DISABLE-UNROLL: [[FORBODY]]: @@ -29,17 +29,17 @@ // CHECK-DISABLE-UNROLL: br i1 %[[EXITCOND:[a-z0-9_\.]+]], label %[[FORBODY5:[a-z0-9_\.]+]], label %[[FORBODY]] // CHECK-DISABLE-UNROLL: [[FORBODY5]]: // CHECK-DISABLE-UNROLL: fmul -// CHECK-DISABLE-UNROLL: fadd +// CHECK-DISABLE-UNROLL: fadd double // CHECK-DISABLE-UNROLL: store // CHECK-DISABLE-UNROLL: fmul -// CHECK-DISABLE-UNROLL: fadd +// CHECK-DISABLE-UNROLL: fadd double // CHECK-DISABLE-UNROLL: store // CHECK-DISABLE-UNROLL-NOT: fmul -// CHECK-DISABLE-UNROLL-NOT: fadd +// CHECK-DISABLE-UNROLL-NOT: fadd double // CHECK-DISABLE-UNROLL-NOT: store 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 @@ -12,15 +12,15 @@ // CHECK-ENABLE-UNROLL: br i1 %[[EXITCOND:[a-z0-9_\.]+]], label %[[FORBODY5:[a-z0-9_\.]+]], label %[[FORBODY]] // CHECK-ENABLE-UNROLL: [[FORBODY5]]: // CHECK-ENABLE-UNROLL: fmul -// CHECK-ENABLE-UNROLL: fadd +// CHECK-ENABLE-UNROLL: fadd double // CHECK-ENABLE-UNROLL: store // CHECK-ENABLE-UNROLL: fmul -// CHECK-ENABLE-UNROLL: fadd +// CHECK-ENABLE-UNROLL: fadd double // CHECK-ENABLE-UNROLL: store // CHECK-ENABLE-UNROLL: fmul -// CHECK-ENABLE-UNROLL: fadd +// CHECK-ENABLE-UNROLL: fadd double // CHECK-ENABLE-UNROLL: store // CHECK-DISABLE-UNROLL-LABEL: @for_test() // CHECK-DISABLE-UNROLL: br label %[[FORBODY:[a-z0-9_\.]+]] // CHECK-DISABLE-UNROLL: [[FORBODY]]: @@ -29,17 +29,17 @@ // CHECK-DISABLE-UNROLL: br i1 %[[EXITCOND:[a-z0-9_\.]+]], label %[[FORBODY5:[a-z0-9_\.]+]], label %[[FORBODY]] // CHECK-DISABLE-UNROLL: [[FORBODY5]]: // CHECK-DISABLE-UNROLL: fmul -// CHECK-DISABLE-UNROLL: fadd +// CHECK-DISABLE-UNROLL: fadd double // CHECK-DISABLE-UNROLL: store // CHECK-DISABLE-UNROLL: fmul -// CHECK-DISABLE-UNROLL: fadd +// CHECK-DISABLE-UNROLL: fadd double // CHECK-DISABLE-UNROLL: store // CHECK-DISABLE-UNROLL-NOT: fmul -// CHECK-DISABLE-UNROLL-NOT: fadd +// CHECK-DISABLE-UNROLL-NOT: fadd double // CHECK-DISABLE-UNROLL-NOT: store 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