aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/Mem2Reg
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-04-15 09:21:47 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-04-15 09:21:47 +0000
commit9aafdcf20dee238d0e7f14d6723f5a401431fe91 (patch)
tree735b69193ec0ace1b26a3b334098b672c1606bd1 /test/Transforms/Mem2Reg
parente9bbaa2293121f505f4ba62b1b919d4174d9c91a (diff)
downloadexternal_llvm-9aafdcf20dee238d0e7f14d6723f5a401431fe91.zip
external_llvm-9aafdcf20dee238d0e7f14d6723f5a401431fe91.tar.gz
external_llvm-9aafdcf20dee238d0e7f14d6723f5a401431fe91.tar.bz2
For PR1319:
Upgrade to use new Tcl exec based test harness. This exposes 3 bugs that were previously not being reported: test/Transforms/GlobalDCE/2002-08-17-FunctionDGE.ll test/Transforms/GlobalOpt/memset.ll test/Transforms/IndVarsSimplify/exit_value_tests.llx git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36065 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/Mem2Reg')
-rw-r--r--test/Transforms/Mem2Reg/DifferingTypes.ll3
-rw-r--r--test/Transforms/Mem2Reg/dg.exp4
2 files changed, 4 insertions, 3 deletions
diff --git a/test/Transforms/Mem2Reg/DifferingTypes.ll b/test/Transforms/Mem2Reg/DifferingTypes.ll
index f859808..9c862e2 100644
--- a/test/Transforms/Mem2Reg/DifferingTypes.ll
+++ b/test/Transforms/Mem2Reg/DifferingTypes.ll
@@ -2,7 +2,8 @@
; generated code should perform the appropriate masking operations required
; depending on the endianness of the target...
; XFAIL: *
-; RUN: llvm-upgrade < %s | llvm-as | opt -mem2reg | llvm-dis | not grep 'alloca'
+; RUN: llvm-upgrade < %s | llvm-as | opt -mem2reg | llvm-dis | \
+; RUN: not grep alloca
implementation
diff --git a/test/Transforms/Mem2Reg/dg.exp b/test/Transforms/Mem2Reg/dg.exp
index ff34508..879685c 100644
--- a/test/Transforms/Mem2Reg/dg.exp
+++ b/test/Transforms/Mem2Reg/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}]]