22 lines · plain
1; RUN: llc -mcpu=corei7 < %s | FileCheck %s2 3target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"4target triple = "x86_64-apple-macosx10.8.0"5 6; CHECK: foo7; Make sure we are not trying to use scalar xor on the high bits of the vector.8; CHECK-NOT: xorq9; CHECK: xorl10; CHECK-NEXT: ret11 12define i32 @foo() {13bb:14 %tmp44.i = fsub <4 x float> <float -0.000000e+00, float -0.000000e+00, float -0.000000e+00, float -0.000000e+00>, <float 0.000000e+00, float 0.000000e+00, float 1.000000e+00, float 0.000000e+00>15 %0 = bitcast <4 x float> %tmp44.i to i12816 %1 = zext i128 %0 to i51217 %2 = shl nuw nsw i512 %1, 25618 %ins = or i512 %2, 332576485762248013993340073197684073865210831877975382611502402998567193714714934776140241380312018068077039081668112422594431736475011598112992363597004819 store i512 %ins, ptr undef, align 6420 ret i32 021}22