[llvm] [CodeGen] Refactor DeadMIElim isDead and GISel isTriviallyDead (PR #105956)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 28 06:23:13 PDT 2024


================
@@ -119,8 +106,18 @@ bool DeadMachineInstructionElimImpl::isDead(const MachineInstr *MI) const {
     }
----------------
arsenm wrote:

Why doesn't the isPhysical path consider the dead flag on the operand? 

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


More information about the llvm-commits mailing list