Displaying 2 results from an estimated 2 matches for "go_back_o2".
2018 Aug 20
2
Function optimization pass
...Pipeline(llvm::PassBuilder::OptimizationLevel::O2);
fp_manager.run(*lift_func, fa_manager);
...print mod...
but the program crashes always at fp_manager.run. Strange enough, LLVM's
opt tool (which uses legacy optimization API) works without any problem,
i.e if I run
opt -O2 go_back.bc -o go_back_o2.bc
then I get a new module where the (single) function go_back is optimized.
Many thanks for any response.
NB. The disassembled LLVM bitcode is at
https://gist.github.com/tathanhdinh/23470452910da9f73b857b2e6a12f144 if
anyone wants to take a look.
-------------- next part --------------
An HT...
2018 Aug 21
2
Function optimization pass
...unc, fa_manager);
>>
>> ...print mod...
>>
>>
>> but the program crashes always at fp_manager.run. Strange enough, LLVM's
>> opt tool (which uses legacy optimization API) works without any problem,
>> i.e if I run
>>
>> opt -O2 go_back.bc -o go_back_o2.bc
>>
>> then I get a new module where the (single) function go_back is optimized.
>>
>> Many thanks for any response.
>>
>> NB. The disassembled LLVM bitcode is at
>> https://gist.github.com/tathanhdinh/23470452910da9f73b857b2e6a12f144 if
>> anyone w...