[PATCH] D124684: [RISCV] Fix incorrect codegen for masked vmsge{u}.vx with mask agnostic.

Kito Cheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 29 19:51:35 PDT 2022


kito-cheng added inline comments.


================
Comment at: llvm/test/CodeGen/RISCV/rvv/masked-tama.ll:1435
+; RV64-NEXT:    vmslt.vx v8, v8, a0, v0.t
+; RV64-NEXT:    vsetvli zero, zero, e8, mf8, ta, mu
+; RV64-NEXT:    vmxor.mm v0, v8, v0
----------------
craig.topper wrote:
> Will we eventually be able to use 'ma' here?
Sounds like that what we can optimized in vsetvli insertion?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D124684/new/

https://reviews.llvm.org/D124684



More information about the llvm-commits mailing list