[PATCH] D151449: [RISCV] Add DAG combine for CTTZ in the case of input 0
Djordje Todorovic via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 20 01:29:09 PDT 2023
djtodoro updated this revision to Diff 532820.
djtodoro marked 3 inline comments as done.
djtodoro added a comment.
- Handle `X != 0 ? CTTZ : 0`
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D151449/new/
https://reviews.llvm.org/D151449
Files:
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
llvm/test/CodeGen/RISCV/cttz_zero_return_test.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151449.532820.patch
Type: text/x-patch
Size: 6592 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230620/3cc2d7a0/attachment.bin>
More information about the llvm-commits
mailing list