Displaying 2 results from an estimated 2 matches for "trytocomputemassinfunction".
2015 Jun 04
2
[LLVMdev] Assert in BlockFrequency pass
Hi, we got the following assert:
assert(!Working[0].isLoopHeader() && "entry block is a loop header");
[in BlockFrequencyInfoImpl<BT>::tryToComputeMassInFunction(),
BlockFrequencyInfoImpl.h] on a Hexagon target - the entry block is a loop
header. Has someone seen this assert on other targets?
What would be a preferable way to fix it:
- extend BlockFrequency pass to handle this case, e.g. by inserting a
dummy entry block, or
- make this BlockFrequncy's...
2015 Jun 04
2
[LLVMdev] Assert in BlockFrequency pass
...>> 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 BlockFrequencyInfoImpl<BT>::tryToComputeMassInFunction(),
>> BlockFrequencyInfoImpl.h] on a Hexagon target - the entry block is a loop
>> header. Has someone seen this assert on other targets?
>>
>> What would be a preferable way to fix it:
>> - extend BlockFrequency pass to handle this case, e.g. by inserting a
>>...