[llvm] [GlobalISel]: G_UNMERGE_VALUES for vectors with different element sizes (PR #133335)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 16 03:13:00 PDT 2025


jayfoad wrote:

> But afaics, the MachineVerifier cannot catch invalid instructions that are created during legalization before they are being handled themselves in the same pass.

OK, but that's a technicality. The instructions are still invalid and should not have been created, so the correct fix is to not create them in the first place.

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


More information about the llvm-commits mailing list