[llvm] [Codegen] Remove redundant instruction using machinelateCleanup (PR #139716)

Rohit Aggarwal via llvm-commits llvm-commits at lists.llvm.org
Mon May 19 04:19:15 PDT 2025


================
@@ -189,7 +189,13 @@ static bool isCandidate(const MachineInstr *MI, Register &DefedReg,
       if (MO.isDef()) {
         if (i == 0 && !MO.isImplicit() && !MO.isDead())
           DefedReg = MO.getReg();
----------------
rohitaggarwal007 wrote:

Sure

https://github.com/llvm/llvm-project/pull/139716


More information about the llvm-commits mailing list