[llvm] CodeGen: Pass instruction and operand index to isIgnorableUse (PR #219967)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 31 07:32:56 PDT 2026


arsenm wrote:

> > so this drops the dependence on MachineOperand::getParent()
> 
> Just curious: why is that beneficial?

I want to remove MachineOperand parents. They're close to useless and an extra 8 bytes per very large number of operands in the program. They also make value copies of operands behave strangely 

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


More information about the llvm-commits mailing list