Unverified Commit 4c68de5a authored by Min-Yih Hsu's avatar Min-Yih Hsu Committed by GitHub
Browse files

[RISCV][CostModel] Add cost model for experimental.cttz.elts (#91778)

The cost of `experimental.cttz.elts` in RISC-V equals to the cost of
vfirst when the zero_is_poison argument is true. Otherwise, we add
additional costs of cmp + select to convert the -1 result from vfirst to
EVL.
parent 0f17d9a2
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment