[PATCH] D132347: [RISCV] Use analyzeBranch in RISCVRedundantCopyElimination.

Kito Cheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 22 01:13:46 PDT 2022


kito-cheng added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVRedundantCopyElimination.cpp:151
 
   // Clear any kills of TargetReg between CondBr and the last removed COPY.
   for (MachineInstr &MMI : make_range(MBB.begin(), LastChange))
----------------
`CondBr` is gone, maybe we need to update this comment.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D132347



More information about the llvm-commits mailing list