[LLVMdev] BlockFrequencyImpl asserts on multiple edges between same MBBs with different weights in LLVM 3.2

Jakob Stoklund Olesen stoklund at 2pi.dk
Thu Jan 24 16:00:37 PST 2013


On Jan 24, 2013, at 7:15 AM, Stefan Hepp <stefan at stefant.org> wrote:

> Hi,
> 
> 
> On 01/23/2013 11:30 PM, Jakob Stoklund Olesen wrote:
>> If you can find the place that creates the duplicate MBB edge, that would be great.
>> 
> 
> Found it :) It happens in lib/CodeGen/IfConversion.cpp at the very end in MergeBlocks. I attached a small patch that should resolve that issue. Our tests now compile sucessfully even without my previous patch.

Thanks! r173395.

/jakob




More information about the llvm-dev mailing list