Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
| llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp | ||
|---|---|---|
| 236 | LT.first is usually a multiplier. Why is this addition? | |
| llvm/test/Analysis/CostModel/RISCV/arith-fp.ll | ||
|---|---|---|
| 21 | Should you add +experimental-zvfh? | |
Comment Actions
thanks craig.topper, testcases add +experimental-zvfh.
change LT.first + 1 to LT.first * 2
| llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp | ||
|---|---|---|
| 236 | I'm still not sure it's accurate. Maybe the integer type needs to return LT.first. | |
I'd fold this into the prior if in this case.