[llvm] [VPlan] Remove VPInstruction::Not. NFC (PR #222228)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 9 01:41:20 PDT 2026


david-arm wrote:

I agree that it makes sense to mirror what general IR does and stick to a single canonical form, whichever form we take. In this case I think it does make more sense to use IR's canonical form, i.e. (xor %x, -1), given that this is the input IR we expect to see from a scalar loop that's been canonicalised by instcombine. A single canonical form will reduce code complexity and compile time.

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


More information about the llvm-commits mailing list