comparison test/CodeGen/X86/vec_set-F.ll @ 95:afa8332a0e37 LLVM3.8

LLVM 3.8
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Tue, 13 Oct 2015 17:48:58 +0900
parents 95c75e76d11b
children 1172e4bd9c6f
comparison
equal deleted inserted replaced
84:f3e34b893a5f 95:afa8332a0e37
2 ; RUN: llc < %s -mtriple=i686-linux -mattr=+sse2 | grep movsd 2 ; RUN: llc < %s -mtriple=i686-linux -mattr=+sse2 | grep movsd
3 ; RUN: llc < %s -mtriple=i686-linux -mattr=+sse2 | grep mov | count 3 3 ; RUN: llc < %s -mtriple=i686-linux -mattr=+sse2 | grep mov | count 3
4 4
5 define <2 x i64> @t1(<2 x i64>* %ptr) nounwind { 5 define <2 x i64> @t1(<2 x i64>* %ptr) nounwind {
6 %tmp45 = bitcast <2 x i64>* %ptr to <2 x i32>* 6 %tmp45 = bitcast <2 x i64>* %ptr to <2 x i32>*
7 %tmp615 = load <2 x i32>* %tmp45 7 %tmp615 = load <2 x i32>, <2 x i32>* %tmp45
8 %tmp7 = bitcast <2 x i32> %tmp615 to i64 8 %tmp7 = bitcast <2 x i32> %tmp615 to i64
9 %tmp8 = insertelement <2 x i64> zeroinitializer, i64 %tmp7, i32 0 9 %tmp8 = insertelement <2 x i64> zeroinitializer, i64 %tmp7, i32 0
10 ret <2 x i64> %tmp8 10 ret <2 x i64> %tmp8
11 } 11 }
12 12