[PATCH] D113193: [TwoAddressInstructionPass] Create register mapping for registers with multiple uses in the current MBB

Phoebe Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 15 05:59:36 PST 2022


pengfei added inline comments.


================
Comment at: llvm/lib/CodeGen/TwoAddressInstructionPass.cpp:389
+    if (isPlainlyKilled(MI, Reg, LIS))
+      UseOp = &MO;
+  }
----------------
dongAxis1944 wrote:
> hi, I have a question, why does the code not break here directly?
It finds the last use in BB, see comments above.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D113193



More information about the llvm-commits mailing list