https://llvm.org/bugs/show_bug.cgi?id=23273

            Bug ID: 23273
           Summary: Assertion failed: (Subtarget->hasAVX() && "Expected a
                    subtarget with AVX!"), function X86SelectSIToFP
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

This assertion is reproducible with trunk r235079, when targeting the i386
architecture.  Testcase:

======================================================================
a;
fn1(double);
main() { fn1(a); }
======================================================================

Compile with:

$ clang -cc1 -triple i386 -emit-obj testcase.c
Assertion failed: (Subtarget->hasAVX() && "Expected a subtarget with AVX!"),
function X86SelectSIToFP, file lib/Target/X86/X86FastISel.cpp, line 2093.
Abort trap

This seems to be recently introduced; trunk r230746 does not assert yet.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to