aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/LCSSA/basictest.ll
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-01-02 05:55:05 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-01-02 05:55:05 +0000
commit7e6b4f7a6dee255e381dd55b39c49fdc5bcb8d10 (patch)
tree1d97e2c07ffb7e2540355612689c87b95e80e58f /test/Transforms/LCSSA/basictest.ll
parent8aabc9eb23cd0f09a865e71a052eb2f6f51ea6df (diff)
downloadexternal_llvm-7e6b4f7a6dee255e381dd55b39c49fdc5bcb8d10.zip
external_llvm-7e6b4f7a6dee255e381dd55b39c49fdc5bcb8d10.tar.gz
external_llvm-7e6b4f7a6dee255e381dd55b39c49fdc5bcb8d10.tar.bz2
For PR1070:
Tweak the RUN: lines of these tests to accommodate the renaming of variables done by llvm-upgrade. The renaming occurs as a result of avoiding name collisons for collapsed type planes. Conflicting names have a .u (unsigned) or .s (signed) suffix added. This patch updates the grep expression to accommodate the new names. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32815 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/LCSSA/basictest.ll')
-rw-r--r--test/Transforms/LCSSA/basictest.ll6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/Transforms/LCSSA/basictest.ll b/test/Transforms/LCSSA/basictest.ll
index 7d12aee..92f754a 100644
--- a/test/Transforms/LCSSA/basictest.ll
+++ b/test/Transforms/LCSSA/basictest.ll
@@ -1,5 +1,7 @@
-; RUN: llvm-upgrade < %s | llvm-as | opt -lcssa | llvm-dis | grep "X3.lcssa = phi i32" &&
-; RUN: llvm-upgrade < %s | llvm-as | opt -lcssa | llvm-dis | grep "%X4 = add i32 3, %X3.lcssa"
+; RUN: llvm-upgrade < %s | llvm-as | opt -lcssa | llvm-dis | \
+; RUN: grep "X3.s.lcssa = phi i32" &&
+; RUN: llvm-upgrade < %s | llvm-as | opt -lcssa | llvm-dis | \
+; RUN: grep "%X4.s = add i32 3, %X3.s.lcssa"
void %lcssa(bool %S2) {
entry: