[PATCH] D131540: [test][NFC] Strengthen an assertion for LLVM checkouts at interesting paths

WÁNG Xuěruì via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 25 17:09:03 PDT 2022


xen0n updated this revision to Diff 455765.
xen0n added a comment.

Take a different approach where the desired assertion lines are not touched.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D131540

Files:
  llvm/test/Transforms/GVNHoist/non-trivial-phi.ll


Index: llvm/test/Transforms/GVNHoist/non-trivial-phi.ll
===================================================================
--- llvm/test/Transforms/GVNHoist/non-trivial-phi.ll
+++ llvm/test/Transforms/GVNHoist/non-trivial-phi.ll
@@ -1,5 +1,6 @@
 ; RUN: opt -gvn-hoist %s -S -o - | FileCheck %s
 
+; CHECK: define void @f
 ; CHECK: store
 ; CHECK-NOT: store
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131540.455765.patch
Type: text/x-patch
Size: 360 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220826/43b9c348/attachment.bin>


More information about the llvm-commits mailing list