[llvm] r182704 - Track IR ordering of SelectionDAG nodes 3/4.

Andrew Trick atrick at apple.com
Sat May 25 22:48:30 PDT 2013


On May 25, 2013, at 2:39 PM, Jakob Stoklund Olesen <stoklund at 2pi.dk> wrote:

> 
> On May 25, 2013, at 2:30 PM, Cameron Zwarich <zwarich at apple.com> wrote:
> 
>> I am seeing some issues introduced by this patch (or the next patch, I had to revert them together). I now see DBG_VALUE instructions inserted between two terminators of an MBB, which the verifier complains about. Some pass (I didn't track down which) is confused by this and drops CFG edges between basic blocks, leading to a jump with a target of BB#-1 when a block is removed for having no predecessors.
> 
> I think this caused PR16143 as well.
> 
> <bugpoint-reduced-simplified.ll>

Thanks. I see the problem now. I'll start working on a fix.
-Andy



More information about the llvm-commits mailing list