[PATCH] D99582: [test, LoopVectorize] Fix use of var defined in CHECK-NOT

Thomas Preud'homme via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 30 06:59:05 PDT 2021


thopre updated this revision to Diff 334154.
thopre added a comment.

Simplify other CHECK-NOT


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D99582/new/

https://reviews.llvm.org/D99582

Files:
  llvm/test/Transforms/LoopVectorize/pr34681.ll


Index: llvm/test/Transforms/LoopVectorize/pr34681.ll
===================================================================
--- llvm/test/Transforms/LoopVectorize/pr34681.ll
+++ llvm/test/Transforms/LoopVectorize/pr34681.ll
@@ -23,8 +23,6 @@
 ; CHECK-LABEL: @foo1
 ; CHECK: for.body.lr.ph
 ; CHECK-NOT: %ident.check = icmp ne i32 %N, 1
-; CHECK-NOT: %[[TEST:[0-9]+]] = or i1 false, %ident.check
-; CHECK-NOT: br i1 %[[TEST]], label %scalar.ph, label %vector.ph
 ; CHECK: vector.ph
 ; CHECK: vector.body
 ; CHECK: <4 x i32>
@@ -82,8 +80,6 @@
 ; CHECK-LABEL: @foo2
 ; CHECK: for.body.lr.ph
 ; CHECK-NOT: %ident.check = icmp ne i16 %N, 1
-; CHECK-NOT: %[[TEST:[0-9]+]] = or i1 false, %ident.check
-; CHECK-NOT: br i1 %[[TEST]], label %scalar.ph, label %vector.ph
 ; CHECK: vector.ph
 ; CHECK: vector.body
 ; CHECK: <4 x i32>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99582.334154.patch
Type: text/x-patch
Size: 819 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210330/a1dfd9a5/attachment.bin>


More information about the llvm-commits mailing list