[llvm] [RISCV] Fold vmnot.m of an integer compare into the compare (PR #222553)
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 14 02:44:53 PDT 2026
https://github.com/lukel97 approved this pull request.
LGTM with the one nit in the test. I'm not too strongly opinionated if we do this in RISCVISelLowering or RISCVVectorPeephole, happy to go with whatever others think. I think for scalable vectors we can probably take advantage of the existing combine for this on generic ISD opcodes so it shouldn't be too important.
https://github.com/llvm/llvm-project/pull/222553
More information about the llvm-commits
mailing list