[PATCH] D76709: [Target][ARM] Adding MVE VPT Optimisation Pass
Sam Parker via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 25 08:04:35 PDT 2020
samparker added inline comments.
================
Comment at: llvm/lib/Target/ARM/MVEVPTOptimisationsPass.cpp:127
+ if (!DstReg.isVirtual())
+ return DstReg.id() == ARM::VPR;
+ MachineRegisterInfo &RegInfo = Instr.getMF()->getRegInfo();
----------------
Maybe you could the MachineInstr method 'definesRegister' instead?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76709/new/
https://reviews.llvm.org/D76709
More information about the llvm-commits
mailing list