This patch adds cost model coverage for fp arithmetic instructions. Some is not exact, I am working on a revision to implement that.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM. Duplicate testing noted, please remove before landing.
p.s. I'm working on intrinsic costing, you might find https://github.com/preames/riscv-llvm-cost-model-gen/ useful, and feel free to tag me on reviews. I'm motivated to see these fixed and landed.
llvm/test/Analysis/CostModel/RISCV/arith-fp.ll | ||
---|---|---|
487 | sqrt already has test coverage - very recently added - in fp-sqrt-pow.ll. Please remove here. | |
567 | Already covered in fp-min-max-abs.ll |
sqrt already has test coverage - very recently added - in fp-sqrt-pow.ll. Please remove here.