https://bugs.llvm.org/show_bug.cgi?id=38819
Bug ID: 38819
Summary: [X86] Crash compiling sitofp with sse1, no-x87, and
32-bit mode
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: Backend: X86
Assignee: unassignedb...@nondot.org
Reporter: craig.top...@gmail.com
CC: llvm-bugs@lists.llvm.org
This IR crashes with llc test.ll -mattr=+sse,-sse2,-x87 -mtriple=i686
define void @foo(i64 %x, float* nocapture %b) local_unnamed_addr #0 {
entry:
%conv = sitofp i64 %x to float
store float %conv, float* %b, align 4
ret void
}
Error:
SoftenFloatResult #0: t16: f64,ch,glue = X86ISD::FILD_FLAG<(load 8 from
%fixed-stack.2, align 4)> t0, FrameIndex:i32<-1>, ValueType:ch:i64
Do not know how to soften the result of this operator!
UNREACHABLE executed at
/Users/craig/Development/clang/llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp:60!
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs