brintos

brintos / llvm-project-archived public Read only

0
0
Text · 927 B · 4f94fcb Raw
27 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc < %s -mtriple=i686-linux -mattr=+sse2 | FileCheck %s3 4define <2 x i64> @t1(ptr %ptr) nounwind  {5; CHECK-LABEL: t1:6; CHECK:       # %bb.0:7; CHECK-NEXT:    movl {{[0-9]+}}(%esp), %eax8; CHECK-NEXT:    movsd {{.*#+}} xmm0 = mem[0],zero9; CHECK-NEXT:    retl10  %tmp615 = load <2 x i32>, ptr %ptr11  %tmp7 = bitcast <2 x i32> %tmp615 to i6412  %tmp8 = insertelement <2 x i64> zeroinitializer, i64 %tmp7, i32 013  ret <2 x i64> %tmp814}15 16define <2 x i64> @t2(i64 %x) nounwind  {17; CHECK-LABEL: t2:18; CHECK:       # %bb.0:19; CHECK-NEXT:    movsd {{.*#+}} xmm0 = mem[0],zero20; CHECK-NEXT:    retl21  %tmp717 = bitcast i64 %x to double22  %tmp8 = insertelement <2 x double> undef, double %tmp717, i32 023  %tmp9 = insertelement <2 x double> %tmp8, double 0.000000e+00, i32 124  %tmp11 = bitcast <2 x double> %tmp9 to <2 x i64>25  ret <2 x i64> %tmp1126}27