[PATCH] D97054: [MachineVerifier] Confirm that both ends of a tied def/use are live together
Mircea Trofin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Feb 20 21:59:14 PST 2021
mtrofin added inline comments.
================
Comment at: llvm/lib/CodeGen/MachineVerifier.cpp:2741
+
+ if (MOI->isTied() && Register::isVirtualRegister(Reg)) {
+ unsigned DefOpNum = std::distance(MI->operands_begin(), &*MOI);
----------------
Nit: you can just use Reg.isVirtual().
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D97054/new/
https://reviews.llvm.org/D97054
More information about the llvm-commits
mailing list