[PATCH] D64707: [x86] try harder to form LEA from ADD to avoid flag conflicts (PR40483)
Noel Grandin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 14 12:17:19 PDT 2019
grandinj added inline comments.
================
Comment at: llvm/lib/Target/X86/X86ISelDAGToDAG.cpp:2487
+ };
+ if (isMathWithFlags(N.getOperand(0)) && isMathWithFlags(N.getOperand(1)))
+ Complexity++;
----------------
Should this not be an || condition ?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64707/new/
https://reviews.llvm.org/D64707
More information about the llvm-commits
mailing list