[LLVMdev] Codegen performance issue: LEA vs. INC.

Rafael EspĂ­ndola rafael.espindola at gmail.com
Sat Oct 5 05:06:27 PDT 2013


> The lea->cmp problem is fixed by switching to the MI scheduler. Please run with -mllvm -misched-bench to confirm.

I get the same output in the testcase in pr13320. The leaq is in
between the cmp and the jmp, preventing  macro-fusion.

Cheers,
Rafael



More information about the llvm-dev mailing list