xref: /aosp_15_r20/external/llvm/test/CodeGen/X86/2008-10-16-VecUnaryOp.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -march=x86 -mattr=+sse2
2*9880d681SAndroid Build Coastguard Worker; PR2762
3*9880d681SAndroid Build Coastguard Workerdefine void @foo(<4 x i32>* %p, <4 x double>* %q) {
4*9880d681SAndroid Build Coastguard Worker  %n = load <4 x i32>, <4 x i32>* %p
5*9880d681SAndroid Build Coastguard Worker  %z = sitofp <4 x i32> %n to <4 x double>
6*9880d681SAndroid Build Coastguard Worker  store <4 x double> %z, <4 x double>* %q
7*9880d681SAndroid Build Coastguard Worker  ret void
8*9880d681SAndroid Build Coastguard Worker}
9