[LLVMbugs] [Bug 4056] New: ICE: physreg was not killed in defining block!

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Apr 24 09:14:58 PDT 2009


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

           Summary: ICE: physreg was not killed in defining block!
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: regehr at cs.utah.edu
                CC: llvmbugs at cs.uiuc.edu


Seen using r69856 on Ubuntu Hardy on x86.

regehr at john-home:~/volatile/tmp155$ llvm-gcc -O2 small.c 
cc1: LiveIntervalAnalysis.cpp:631: void
llvm::LiveIntervals::handlePhysicalRegisterDef(llvm::MachineBasicBlock*,
llvm::ilist_iterator<llvm::MachineInstr>, unsigned int, llvm::MachineOperand&,
llvm::LiveInterval&, llvm::MachineInstr*): Assertion `!CopyMI && "physreg was
not killed in defining block!"' failed.
small.c:23: internal compiler error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://llvm.org/bugs/> for instructions.

regehr at john-home:~/volatile/tmp155$ cat small.c

int foo (int _left, int _right)
{
  return _right >= 1 * 8 || 1 >> _right ? _left : _left << 1;
}

int g_6;

int func_9 (char p_10)
{
  return 0;
}

int bar (int);

void int163 (int p_4, int p_5)
{
  (foo (p_5, bar (1)) && p_5 & 1) != g_6
    && !func_9 (1);
  func_9 ((bar (p_5), 1));
}


-- 
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