Evan Cheng | 3cae033 | 2008-07-23 00:22:17 +0000 | [diff] [blame] | 1 | ; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep pslldq |
Dan Gohman | 3e288d0 | 2008-07-24 18:08:01 +0000 | [diff] [blame] | 2 | ; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -mtriple=i686-apple-darwin9 -stats -info-output-file - | grep asm-printer | grep 6 |
Evan Cheng | dea9936 | 2008-05-29 08:22:04 +0000 | [diff] [blame] | 3 | |
| 4 | define <4 x float> @t3(<4 x float>* %P) nounwind { |
| 5 | %tmp1 = load <4 x float>* %P |
| 6 | %tmp2 = shufflevector <4 x float> zeroinitializer, <4 x float> %tmp1, <4 x i32> < i32 4, i32 4, i32 4, i32 0 > |
| 7 | ret <4 x float> %tmp2 |
| 8 | } |