[PATCH] D140782: [RISCV] Teach lowerCTLZ_CTTZ_ZERO_UNDEF to handle conversion i32/i64 vectors to f32 vectors.
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 11 00:34:07 PST 2023
craig.topper accepted this revision.
craig.topper added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: llvm/test/CodeGen/RISCV/rvv/ctlz-sdnode.ll:1092
+; CHECK-F-NEXT: vsetvli a0, zero, e32, m1, ta, ma
+; CHECK-F-NEXT: vmset.m v0
+; CHECK-F-NEXT: fsrmi a0, 1
----------------
fakepaper56 wrote:
> craig.topper wrote:
> > Any idea where this vmset came from?
> The `PseudoVFCVT_RM_F_XU_V_<LMUL>_MASK` does not have unmask version now. I think there are same issues about other RM conversion.
ok thanks for checking.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D140782/new/
https://reviews.llvm.org/D140782
More information about the llvm-commits
mailing list