[PATCH] D115945: [AMDGPU][GlobalISel] Eliminate cross regbank copies of constants
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 20 08:12:36 PST 2021
foad added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/AMDGPURegBankCombiner.cpp:402
+ llvm::SmallVector<MachineInstr *> Copies;
+ for (MachineOperand &Use : MRI.use_nodbg_operands(Dst)) {
+ Copies.push_back(Use.getParent());
----------------
Use use_nodbg_instructions here, like you did in the match function?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D115945/new/
https://reviews.llvm.org/D115945
More information about the llvm-commits
mailing list