[llvm] [MachineVerifier] Allow KILL MI with dangling MMO in MachineVerifier. (PR #114407)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 31 07:39:51 PDT 2024


arsenm wrote:

> An optimization pass may change an instruction into a KILL it seems when there is no use for the produced value. In this case the register coalescer did so while leaving the MMO untouched. The MachineVerifier did not accept this, but it seems reasonable that it should.


It should just delete the memory operands. There's no reason to accept this 

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


More information about the llvm-commits mailing list