summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/ADCE
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-03-19 18:27:35 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-03-19 18:27:35 +0000
commit7953b683fc06d68a272984e521ade39e1a693b21 (patch)
tree789773446d93e7c3a30ea207eb673d09a226019d /llvm/test/Transforms/ADCE
parent9c62db7c8cb72791a890727bbf5e22666185317e (diff)
downloadbcm5719-llvm-7953b683fc06d68a272984e521ade39e1a693b21.tar.gz
bcm5719-llvm-7953b683fc06d68a272984e521ade39e1a693b21.zip
For PR1258:
Revise numeric value references to accommodate collapsed type planes. llvm-svn: 35170
Diffstat (limited to 'llvm/test/Transforms/ADCE')
-rw-r--r--llvm/test/Transforms/ADCE/2002-01-31-UseStuckAround.ll10
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/test/Transforms/ADCE/2002-01-31-UseStuckAround.ll b/llvm/test/Transforms/ADCE/2002-01-31-UseStuckAround.ll
index f902bc97b8f..b3c12ffe1fa 100644
--- a/llvm/test/Transforms/ADCE/2002-01-31-UseStuckAround.ll
+++ b/llvm/test/Transforms/ADCE/2002-01-31-UseStuckAround.ll
@@ -1,14 +1,14 @@
-; RUN: llvm-upgrade < %s | llvm-as | opt -adce
+; RUN: llvm-as %s -o - | opt -adce
implementation
-int "main"(int %argc)
+define i32 @"main"(i32 %argc)
begin
br label %2
- %retval = phi int [ %argc, %2 ] ; <int> [#uses=2]
- %two = add int %retval, %retval ; <int> [#uses=1]
- ret int %two
+ %retval = phi i32 [ %argc, %2 ] ; <i32> [#uses=2]
+ %two = add i32 %retval, %retval ; <i32> [#uses=1]
+ ret i32 %two
br label %1
end
OpenPOWER on IntegriCloud