[PATCH] D111904: [RISCV] Lower fixed vector CTLZ_ZERO_UNDEF by converting to FP and extracting the exponent.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 15 13:38:31 PDT 2021


craig.topper updated this revision to Diff 380096.
craig.topper added a comment.

Add support for CTTZ_ZERO_UNDEF as well.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D111904

Files:
  llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/test/CodeGen/RISCV/rvv/fixed-vectors-ctlz.ll
  llvm/test/CodeGen/RISCV/rvv/fixed-vectors-cttz.ll



More information about the llvm-commits mailing list