khchen added a comment. I think you also need to handle `PermuteOperands` field <https://github.com/llvm/llvm-project/blob/main/clang/include/clang/Basic/riscv_vector.td#L196>? `PermuteOperands` performs the order permutation for non-masked and masked intrinsics when the operand order is different to builtins.
Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D100658/new/ https://reviews.llvm.org/D100658 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits