summaryrefslogtreecommitdiff
path: root/test/Transforms/IPConstantProp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-04-15 08:30:33 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-04-15 08:30:33 +0000
commit2aabd0722d68ee53af9ad7140d1c0b853b6fe421 (patch)
tree38295072c2091b770ddcf7d93d494590563bc70e /test/Transforms/IPConstantProp
parent08af6fd5fcd58b4d0304e41c8c19abe71be0cbbf (diff)
downloadllvm-2aabd0722d68ee53af9ad7140d1c0b853b6fe421.tar.gz
llvm-2aabd0722d68ee53af9ad7140d1c0b853b6fe421.tar.bz2
llvm-2aabd0722d68ee53af9ad7140d1c0b853b6fe421.tar.xz
For PR1319:
Upgrade to use new Tcl exec based test harness. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36062 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/IPConstantProp')
-rw-r--r--test/Transforms/IPConstantProp/dg.exp4
-rw-r--r--test/Transforms/IPConstantProp/return-constant.ll2
2 files changed, 3 insertions, 3 deletions
diff --git a/test/Transforms/IPConstantProp/dg.exp b/test/Transforms/IPConstantProp/dg.exp
index ff34508c3c..879685ca87 100644
--- a/test/Transforms/IPConstantProp/dg.exp
+++ b/test/Transforms/IPConstantProp/dg.exp
@@ -1,3 +1,3 @@
-load_lib llvm-dg.exp
+load_lib llvm.exp
-llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]]
+RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]]
diff --git a/test/Transforms/IPConstantProp/return-constant.ll b/test/Transforms/IPConstantProp/return-constant.ll
index 50e6a77a5b..36cd493fc1 100644
--- a/test/Transforms/IPConstantProp/return-constant.ll
+++ b/test/Transforms/IPConstantProp/return-constant.ll
@@ -1,5 +1,5 @@
; RUN: llvm-upgrade < %s | llvm-as | opt -ipconstprop -instcombine | \
-; RUN: llvm-dis | grep 'ret i1 true'
+; RUN: llvm-dis | grep {ret i1 true}
implementation
internal int %foo(bool %C) {