1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-29 23:12:55 +01:00
llvm-mirror/test/CodeGen/X86/pr10499.ll
Michael Liao ff7d7ec88b Fix PR10499
- Check whether SSE is available before lowering all 1s vector building with
  PCMPEQD, which is only available from SSE2

llvm-svn: 176058
2013-02-25 23:01:03 +00:00

15 lines
397 B
LLVM

; RUN: llc < %s -mtriple=x86_64-pc-linux -mcpu=corei7-avx -mattr=-sse2
; No check as PR10499 is a crashing bug.
define void @autogen_24438_500() {
BB:
%I = insertelement <8 x i32> undef, i32 -1, i32 4
%BC = bitcast <8 x i32> %I to <8 x float>
br label %CF
CF: ; preds = %CF, %BB
%ZE = fpext <8 x float> %BC to <8 x double>
br label %CF
}