[PATCH] D126632: [AArch64] Look through copy in MachineCombiner FMUL patterns.
Sjoerd Meijer via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 30 01:24:26 PDT 2022
SjoerdMeijer accepted this revision.
SjoerdMeijer added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: llvm/lib/Target/AArch64/AArch64InstrInfo.cpp:5173
MI = MRI.getUniqueVRegDef(MO.getReg());
+ if (MI && MI->getOpcode() == TargetOpcode::COPY &&
+ MI->getOperand(1).getReg().isVirtual())
----------------
Perhaps a comment that we ignore the copy in `FMUL(COPY(DUP(..)))`?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D126632/new/
https://reviews.llvm.org/D126632
More information about the llvm-commits
mailing list