[PATCH] D49966: [X86] Performing DAG pruning before selection of LEA instructions.
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 18 21:40:58 PDT 2018
craig.topper added a comment.
In https://reviews.llvm.org/D49966#1268534, @xbolva00 wrote:
> Also we should avoid cases like
> mov eax, dword ptr [rsi]
> lea eax, [rax + rdi]
>
> and use add instruction like gcc:
> add edi, DWORD PTR [rsi]
>
> https://godbolt.org/z/KQAOV-
>
> cc @craig.topper
Please file a bug. That's a completely different issue.
Repository:
rL LLVM
https://reviews.llvm.org/D49966
More information about the llvm-commits
mailing list