aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/GCSE
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/GCSE')
-rw-r--r--test/Transforms/GCSE/2002-05-14-OperandSwap.ll3
-rw-r--r--test/Transforms/GCSE/dg.exp4
2 files changed, 4 insertions, 3 deletions
diff --git a/test/Transforms/GCSE/2002-05-14-OperandSwap.ll b/test/Transforms/GCSE/2002-05-14-OperandSwap.ll
index 5e893bf..51183b8 100644
--- a/test/Transforms/GCSE/2002-05-14-OperandSwap.ll
+++ b/test/Transforms/GCSE/2002-05-14-OperandSwap.ll
@@ -1,7 +1,8 @@
; This entire chain of computation should be optimized away, but
; wasn't because the two multiplies were not detected as being identical.
;
-; RUN: llvm-as < %s | opt -gcse -instcombine -dce | llvm-dis | not grep sub
+; RUN: llvm-upgrade < %s | llvm-as | opt -gcse -instcombine -dce | \
+; RUN: llvm-dis | not grep sub
implementation ; Functions:
diff --git a/test/Transforms/GCSE/dg.exp b/test/Transforms/GCSE/dg.exp
index ff34508..879685c 100644
--- a/test/Transforms/GCSE/dg.exp
+++ b/test/Transforms/GCSE/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}]]