aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/2007-05-05-VecCastExpand.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
commit33eefffb2b25b5f4a313f08fa7c57ddfcbccf36e (patch)
treec8a69f1be3db80d136ec9dcc8e41d9d5affd35ad /test/CodeGen/X86/2007-05-05-VecCastExpand.ll
parent7c1687c196e8dc89a4722e0463965f0b0f5f399c (diff)
downloadexternal_llvm-33eefffb2b25b5f4a313f08fa7c57ddfcbccf36e.zip
external_llvm-33eefffb2b25b5f4a313f08fa7c57ddfcbccf36e.tar.gz
external_llvm-33eefffb2b25b5f4a313f08fa7c57ddfcbccf36e.tar.bz2
Remove llvm-upgrade and update tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47432 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/2007-05-05-VecCastExpand.ll')
-rw-r--r--test/CodeGen/X86/2007-05-05-VecCastExpand.ll26
1 files changed, 13 insertions, 13 deletions
diff --git a/test/CodeGen/X86/2007-05-05-VecCastExpand.ll b/test/CodeGen/X86/2007-05-05-VecCastExpand.ll
index 6173d44..b0bcf5c 100644
--- a/test/CodeGen/X86/2007-05-05-VecCastExpand.ll
+++ b/test/CodeGen/X86/2007-05-05-VecCastExpand.ll
@@ -1,21 +1,21 @@
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -mcpu=i386 -mattr=+sse
+; RUN: llvm-as < %s | llc -march=x86 -mcpu=i386 -mattr=+sse
; PR1371
-%str = external global [18 x sbyte]
+@str = external global [18 x i8] ; <[18 x i8]*> [#uses=1]
-void %test() {
+define void @test() {
bb.i:
- %tmp.i660 = load <4 x float>* null
- call void (int, ...)* %printf( int 0, sbyte* getelementptr ([18 x sbyte]* %str, int 0, uint 0), double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00 )
- %tmp152.i = load <4 x uint>* null
- %tmp156.i = cast <4 x uint> %tmp152.i to <4 x int>
- %tmp175.i = cast <4 x float> %tmp.i660 to <4 x int>
- %tmp176.i = xor <4 x int> %tmp156.i, < int -1, int -1, int -1, int -1 >
- %tmp177.i = and <4 x int> %tmp176.i, %tmp175.i
- %tmp190.i = or <4 x int> %tmp177.i, zeroinitializer
- %tmp191.i = cast <4 x int> %tmp190.i to <4 x float>
+ %tmp.i660 = load <4 x float>* null ; <<4 x float>> [#uses=1]
+ call void (i32, ...)* @printf( i32 0, i8* getelementptr ([18 x i8]* @str, i32 0, i64 0), double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00 )
+ %tmp152.i = load <4 x i32>* null ; <<4 x i32>> [#uses=1]
+ %tmp156.i = bitcast <4 x i32> %tmp152.i to <4 x i32> ; <<4 x i32>> [#uses=1]
+ %tmp175.i = bitcast <4 x float> %tmp.i660 to <4 x i32> ; <<4 x i32>> [#uses=1]
+ %tmp176.i = xor <4 x i32> %tmp156.i, < i32 -1, i32 -1, i32 -1, i32 -1 > ; <<4 x i32>> [#uses=1]
+ %tmp177.i = and <4 x i32> %tmp176.i, %tmp175.i ; <<4 x i32>> [#uses=1]
+ %tmp190.i = or <4 x i32> %tmp177.i, zeroinitializer ; <<4 x i32>> [#uses=1]
+ %tmp191.i = bitcast <4 x i32> %tmp190.i to <4 x float> ; <<4 x float>> [#uses=1]
store <4 x float> %tmp191.i, <4 x float>* null
ret void
}
-declare void %printf(int, ...)
+declare void @printf(i32, ...)