[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
Thu Aug 16 03:23:42 PDT 2018
xbolva00 added inline comments.
================
Comment at: lib/Target/X86/X86ISelDAGToDAG.cpp:774
+ // addressing mode based LEA selection.
+ if (OptForSize) {
+ SDValue NewN = pruneForLEAExtraction(N);
----------------
lebedev.ri wrote:
> Hm, why do we want to only do this in `-Os`/`-Oz`?
I agree with Roman, we should do it always.
Repository:
rL LLVM
https://reviews.llvm.org/D49966
More information about the llvm-commits
mailing list