[PATCH] D150388: [CodeGen]Allow targets to use target specific COPY instructions for live range splitting
Christudasan Devadasan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 26 09:29:33 PDT 2023
cdevadas added inline comments.
================
Comment at: llvm/include/llvm/CodeGen/TargetInstrInfo.h:1970
+ virtual unsigned
+ getLiveRangeSplitOpcode(Register reg, const MachineRegisterInfo &MRI) const {
+ return TargetOpcode::COPY;
----------------
Can you make this function to take MachineFunction& as the second argument in the first place?
You are changing it in D143762.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D150388/new/
https://reviews.llvm.org/D150388
More information about the llvm-commits
mailing list