Displaying 4 results from an estimated 4 matches for "pred_empty".
2009 Feb 19
0
[LLVMdev] Bug in BranchFolding.cpp:OptimizeBlock
...is block is empty, make everyone use its fall-through, not the
block
// explicitly. Landing pads should not do this since the landing-pad
table
// points to this block.
if (MBB->empty() && !MBB->isLandingPad()) {
// Dead block? Leave for cleanup later.
if (MBB->pred_empty()) return;
if (FallThrough == MBB->getParent()->end()) {
// TODO: Simplify preds to not branch here if possible!
} else {
// Rewrite all predecessors of the old block to go to the
fallthrough
// instead.
while (!MBB->pred_empty()) {
Mach...
2014 Jan 04
2
[LLVMdev] How to update LiveInterval information of newly inserted machine basic block
...nreachableBlockElim pass to delete OldMBB.
> Then, remove all intervals and recompute all the virtual registers' LiveIntervals.
> 3. I debug source code in LiveRangeCalc.cpp and copy partial code shown following.
> /// LiveRangeCalc.cpp
> ...
> #ifndef NDEBUG
> if (MBB->pred_empty()) {
> MBB->getParent()->verify();
> llvm_unreachable("Use not jointly dominated by defs.");
> }
> ...
> /// LiveRangeCalc.cpp
> This MBB is the first block of MachineFunction. That's to say, This MBB doesn't have predecessor. It is reasonab...
2014 Jan 03
2
[LLVMdev] How to update LiveInterval information of newly inserted machine basic block
On Jan 3, 2014, at 1:52 PM, Andrew Trick <atrick at apple.com> wrote:
> He really just wants to rerun LiveIntervals analysis, but LiveVariables is no longer available. Would it work just to clear all the intervals rerun LiveIntervals::computeVirtRegs after all the CFG transforms are complete?
Yes, I should think so.
/jakob
-------------- next part --------------
An HTML attachment was
2015 Jun 04
2
[LLVMdev] Assert in BlockFrequency pass
> On 2015-Jun-04, at 12:45, Duncan P. N. Exon Smith <dexonsmith at apple.com> wrote:
>
>> On 2015-Jun-04, at 12:28, Ivan Baev <ibaev at codeaurora.org> wrote:
>>
>> Hi, we got the following assert:
>>
>> assert(!Working[0].isLoopHeader() && "entry block is a loop header");
>>
>> [in