Displaying 1 result from an estimated 1 matches for "xxxfinal".
2020 Aug 05
2
llc -O2 vs. llc -O3 --> same debug-pass=Executions but output.obj differs?
...-stopafter=targetlibinfo -o input.mir
2. llc -run-pass={....min passes...} input.mir -o opt.mir
3. llc -startafter=machine-opt-remark-emitter -filetype=obj opt.mir -o
final.obj
Examining the passes produced by llc for O1,O2,O3 I compared (with XXX =
{1,2,3}):
llc input.bc -filetype=obj -OXXX -o XXXfinal.obj -debug-pass=Executions
This showed the passes were identical for O1,O2,O3 yet the .obj produced
was different for O3 versus O1 and O2 (which were the same).
Does anyone happen to know why O3 is different, I'm wondering if this is
caused by some other llc flag unrelated to the passes whi...