[llvm-bugs] [Bug 38819] New: [X86] Crash compiling sitofp with sse1, no-x87, and 32-bit mode
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Sep 3 20:41:08 PDT 2018
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: unassignedbugs at nondot.org
Reporter: craig.topper at gmail.com
CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180904/f3cd220d/attachment.html>
More information about the llvm-bugs
mailing list