[LLVMbugs] [Bug 14393] New: codegen crash with inline asm

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Nov 20 13:07:35 PST 2012


http://llvm.org/bugs/show_bug.cgi?id=14393

             Bug #: 14393
           Summary: codegen crash with inline asm
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: X86
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: rafael.espindola at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Reported by rajesh viswabramana on llvmdev, I just converted the test to IL:

-------------------------------------------
target triple = "i386-unknown-linux-gnu"

define double @func1() {
entry:
  %0 = tail call double asm "", "=r,0,~{dirflag},~{fpsr},~{flags}"(double
undef)
  ret double %0
}
--------------------------------------------

$ ./bin/llc test.ll
llc:
/home/espindola/llvm/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp:383:
void getCopyToParts(llvm::SelectionDAG &, llvm::DebugLoc, llvm::SDValue,
llvm::SDValue *, unsigned int, llvm::EVT, const llvm::Value *, ISD::NodeType):
Assertion `(PartVT.isInteger() || PartVT == MVT::x86mmx) && ValueVT.isInteger()
&& "Unknown mismatch!"' failed.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list