Displaying 2 results from an estimated 2 matches for "cb0bdec9".
2012 Oct 26
2
[LLVMdev] instr_iterator
Is it safe or legal to call isInsideBundle even when I == E?
MachineBasicBlock::iterator MachineBasicBlock::getFirstNonPHI() {
instr_iterator I = instr_begin(), E = instr_end();
while (I != E && I->isPHI())
++I;
assert(!I->isInsideBundle() && "First non-phi MI cannot be inside a
bundle!");
return I;
}
I am seeing an assert when I run llc.
The code is
2012 Oct 26
0
[LLVMdev] instr_iterator
..., 2012, at 7:01 PM, Akira Hatanaka <ahatanak at gmail.com> wrote:
> Is it safe or legal to call isInsideBundle even when I == E?
No, neither.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121025/cb0bdec9/attachment.html>