wangpc-pp wrote: > Why is it ok to remove the assertion? IIUC, there will be no subregs for those opcodes and operands? I just think it may not be a good practice to pass an argument for assertion. https://github.com/llvm/llvm-project/pull/85755