[PATCH] D82669: [ARM] Generate URHADD from (b - (~a)) >> 1
Petre Tudor via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 30 10:51:16 PDT 2020
PetreTudor marked 8 inline comments as done.
PetreTudor added inline comments.
================
Comment at: llvm/lib/Target/AArch64/AArch64ISelLowering.cpp:11134-11137
+ SDValue N00Source = N00->getOperand(0);
+ SDValue N01Source = N01->getOperand(0);
+ SDValue N10Source = N10->getOperand(0);
+ SDValue N11Source = N11->getOperand(0);
----------------
dmgreen wrote:
> Make sure you check the 0 and the 8 from the extract_subvector.
Added the checks right before returning the new node.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82669/new/
https://reviews.llvm.org/D82669
More information about the llvm-commits
mailing list