[PATCH] D76822: [VE] Update lea/load/store instructions
Kazushi Marukawa via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Mar 29 18:43:46 PDT 2020
kaz7 marked 6 inline comments as done.
kaz7 added inline comments.
================
Comment at: llvm/lib/Target/VE/VEISelDAGToDAG.cpp:159
+
if (Addr.getOpcode() == ISD::ADD) {
if (Addr.getOperand(0).getOpcode() == VEISD::Lo ||
----------------
simoll wrote:
> This is a generalized version of `SelectionDAG::isBaseWithConstantOffset`. I suppose this code (up until line 177) should be moved into SelectionDAG, eg as `SelectionDAG::isBaseWithOffset`.
> You can do that in a followup patch.
Regarding to isBaseWithOffset, I'll try that. Should I submit them as independent patch or just append modifications on SelectionDAG in this patch?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76822/new/
https://reviews.llvm.org/D76822
More information about the llvm-commits
mailing list