[PATCH] D49966: [X86] Performing DAG pruning before selection of LEA instructions.

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 30 07:21:36 PDT 2018


xbolva00 added a comment.

So this patch should turn

  lea     eax, [rdi + rsi]
  add     eax, 2

into

  lea     eax, [rdi+2+rsi]

?


Repository:
  rL LLVM

https://reviews.llvm.org/D49966





More information about the llvm-commits mailing list