[llvm] r282385 - [X86] Optimization for replacing LEA with MOV at frame index elimination time

Joerg Sonnenberger via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 26 02:31:24 PDT 2016


On Mon, Sep 26, 2016 at 06:42:08AM -0000, Zvi Rackover via llvm-commits wrote:
> MOV is preferable over LEA because usually there are more issue-slots
> available to execute MOVs than LEAs. Latest processors also support
> zero-latency MOVs.

It's also smaller.

Joerg


More information about the llvm-commits mailing list