[PATCH] D114573: [MachineVerifier] Make TiedOpsRewritten computable in MIRParser

Matthias Braun via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 2 11:39:23 PST 2021


MatzeB added inline comments.


================
Comment at: llvm/lib/CodeGen/MIRParser/MIRParser.cpp:361-365
+        unsigned DefIdx;
+        const MachineOperand &MO = MI.getOperand(I);
+        if (!MO.isReg() || !MO.getReg())
+          continue;
+        if (MO.isUse() && MI.isRegTiedToDefOperand(I, &DefIdx) &&
----------------
Move variable decl closer to use


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D114573/new/

https://reviews.llvm.org/D114573



More information about the llvm-commits mailing list