[LLVMbugs] [Bug 16110] New: llvm/CodeGen/SlotIndexes.h: Assertion `itr != mi2iMap.end() && "Instruction not found in maps."' failed.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed May 22 08:44:26 PDT 2013


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

            Bug ID: 16110
           Summary: llvm/CodeGen/SlotIndexes.h: Assertion `itr !=
                    mi2iMap.end() && "Instruction not found in maps."'
                    failed.
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: kcc at google.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

test case by csmith/creduce
LLVM r182482.

long long a;
int b;
int c;
int d;
int fn2();
int fn3();
int fn1 () {
  int e;
  c = 0;
  for (; c; c++);
lbl_225:
  for (b = 0; b < 1; ++b) {
    int *f = 0;
    fn2 ( (e ^= a) && fn3 (), f);
  }
  if (d)
    goto lbl_225;
  return 0;
} 


% clang -O1 -g -S -target arm-linux-android-eabi i.c 


clang-3.3: llvm/include/llvm/CodeGen/SlotIndexes.h:410: llvm::SlotIndex
llvm::SlotIndexes::getInstructionIndex(const llvm::MachineInstr *) const:
Assertion `itr != mi2iMap.end() && "Instruction not found in maps."' failed.
8  clang-3.3       0x0000000000e2872e
llvm::ConnectedVNInfoEqClasses::Distribute(llvm::LiveInterval**,
llvm::MachineRegisterInfo&) + 190
9  clang-3.3       0x0000000000e373ff
llvm::LiveRangeEdit::eliminateDeadDefs(llvm::SmallVectorImpl<llvm::MachineInstr*>&,
llvm::ArrayRef<unsigned int>) + 3327

-- 
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/20130522/46a5dbc7/attachment.html>


More information about the llvm-bugs mailing list