[PATCH] D126048: [SplitKit] Handle early clobber + tied to def correctly
Matthias Braun via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 31 08:46:37 PDT 2022
MatzeB added inline comments.
================
Comment at: llvm/lib/CodeGen/SplitKit.cpp:1373-1380
+ MachineInstr::const_mop_iterator MOItr;
+ for (MOItr = MI->uses().begin(); MOItr != MI->uses().end(); ++MOItr) {
+ if (MOItr->isReg() && MOItr->isTied() &&
+ MOItr->getReg() == MO.getReg())
+ break;
+ }
+ assert(MOItr != MI->uses().end());
----------------
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D126048/new/
https://reviews.llvm.org/D126048
More information about the llvm-commits
mailing list