[PATCH] D151449: [RISCV] Add DAG combine for CTTZ/CTLZ in the case of input 0
Alex Bradbury via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 9 23:07:41 PDT 2023
asb added a comment.
I forgot to also say that it's best to strip attributes that don't influence codegen. In this test case, `noundef`, `nocapture` and `readonly` don't alter the output if removed, so best to just get rid of them.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D151449/new/
https://reviews.llvm.org/D151449
More information about the llvm-commits
mailing list