[PATCH] D82763: MIR: Infer not-SSA for subregister defs
Francis Visoiu Mistrih via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 1 08:09:07 PDT 2020
thegameg added inline comments.
================
Comment at: llvm/include/llvm/CodeGen/MachineRegisterInfo.h:453
+ /// specified register, otherwise nullptr.
+ MachineOperand *getOneDef(Register Reg) const {
+ def_iterator DI = def_begin(Reg);
----------------
There is a `MachineInstr *getUniqueVRegDef(Register Reg) const;`. Maybe name this one `getUniqueVRegDefOperand`? Are they actually vreg-only?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82763/new/
https://reviews.llvm.org/D82763
More information about the llvm-commits
mailing list