summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/imul-lea.ll
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2008-02-21 07:42:26 +0000
committerTanya Lattner <tonic@nondot.org>2008-02-21 07:42:26 +0000
commit3cdf542f5acbfa161dd7449c4480907791c9846c (patch)
treeedd5c5b84c7b17a07ea4eb4c16ddc4c5f653af25 /llvm/test/CodeGen/X86/imul-lea.ll
parente86c91f5b25427fc5d19cb6b6ec8df63835b467b (diff)
downloadbcm5719-llvm-3cdf542f5acbfa161dd7449c4480907791c9846c.tar.gz
bcm5719-llvm-3cdf542f5acbfa161dd7449c4480907791c9846c.zip
Remove llvm-upgrade and update tests.
llvm-svn: 47432
Diffstat (limited to 'llvm/test/CodeGen/X86/imul-lea.ll')
-rw-r--r--llvm/test/CodeGen/X86/imul-lea.ll14
1 files changed, 8 insertions, 6 deletions
diff --git a/llvm/test/CodeGen/X86/imul-lea.ll b/llvm/test/CodeGen/X86/imul-lea.ll
index 9d6fd98e33f..6403a2668a3 100644
--- a/llvm/test/CodeGen/X86/imul-lea.ll
+++ b/llvm/test/CodeGen/X86/imul-lea.ll
@@ -1,8 +1,10 @@
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 | grep lea
+; RUN: llvm-as < %s | llc -march=x86 | grep lea
-declare int %foo()
-int %test() {
- %tmp.0 = tail call int %foo( ) ; <int> [#uses=1]
- %tmp.1 = mul int %tmp.0, 9 ; <int> [#uses=1]
- ret int %tmp.1
+declare i32 @foo()
+
+define i32 @test() {
+ %tmp.0 = tail call i32 @foo( ) ; <i32> [#uses=1]
+ %tmp.1 = mul i32 %tmp.0, 9 ; <i32> [#uses=1]
+ ret i32 %tmp.1
}
+
OpenPOWER on IntegriCloud