Skip to content

Commit d153655

Browse files
xen0nLebedevRI
authored andcommitted
[test][NFC] Guard one test case against LLVM checkouts at interesting paths
Previously only the "store" string was being checked for not appearing twice, but unfortunately the check also looked at the ModuleID and source_filename lines, so the test case would fail if the LLVM checkout's absolute path contained the substring "store". Fix this spurious test failure by tweaking the invocation so the full path no longer shows up in the output. Differential Revision: https://reviews.llvm.org/D131540
1 parent 6a0bbb8 commit d153655

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: opt -passes=gvn-hoist %s -S -o - | FileCheck %s
1+
; RUN: opt -passes=gvn-hoist -S < %s | FileCheck %s
22

33
; CHECK: store
44
; CHECK-NOT: store

0 commit comments

Comments
 (0)