Displaying 2 results from an estimated 2 matches for "lowerswitchpass".
2019 Dec 27
2
Calling LowerSwitchPass causing crash in llvm 9
...ons will be finally compiled into binary trees, is that correct?
> It seems only AMDGPU is using this pass. Is there any rule to call this pass or not?
>
>> On Thu, Dec 26, 2019 at 6:36 PM n3v3rm03 <n3v3rm03 at gmail.com> wrote:
>> Hi,
>>
>> I am trying to call LowerSwitchPass directly in my custom pass in this way:
>>
>>
>> FunctionPass *lower = createLowerSwitchPass();
>> lower->runOnFunction(*f);
>>
>> But it will crash when running lower->runOnFunction(*f) in llvm-9.
>> I was using this method in llvm-8 and it w...
2019 Dec 26
2
Calling LowerSwitchPass causing crash in llvm 9
Hi,
I am trying to call LowerSwitchPass directly in my custom pass in this way:
FunctionPass *lower = createLowerSwitchPass();
lower->runOnFunction(*f);
But it will crash when running lower->runOnFunction(*f) in llvm-9.
I was using this method in llvm-8 and it worked fine. It seems the crash
happens at the first line of the...