[PATCH] D112464: [x86] limit vector increment fold to allow load folding
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 25 09:39:07 PDT 2021
lebedev.ri added inline comments.
================
Comment at: llvm/lib/Target/X86/X86ISelDAGToDAG.cpp:900
+ auto mayPreventLoadFold = [&]() {
+ return N->getOperand(0).getOpcode() == ISD::LOAD &&
+ N->getOpcode() == ISD::ADD && Subtarget->hasAVX() &&
----------------
What about multi-use load, we usually don't load-fold those?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D112464/new/
https://reviews.llvm.org/D112464
More information about the llvm-commits
mailing list