[PATCH] D155150: [RISCV] Lower VP_CTLZ_ZERO_UNDEF/VP_CTTZ_ZERO_UNDEF/VP_CTLZ by converting to FP and extracting the exponent.
Liao Chunyu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 17 21:50:51 PDT 2023
liaolucy updated this revision to Diff 541316.
liaolucy added a comment.
1.skip creating the non-VP node this node if it's a VPOpcode
2.use DAG.getVPZExtOrTrunc
3.rebase
Thanks
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D155150/new/
https://reviews.llvm.org/D155150
Files:
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
llvm/test/CodeGen/RISCV/rvv/ctlz-vp.ll
llvm/test/CodeGen/RISCV/rvv/cttz-vp.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155150.541316.patch
Type: text/x-patch
Size: 469923 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230718/9511e9a1/attachment-0001.bin>
More information about the llvm-commits
mailing list