As extending from or truncating to mask vector do not use the same instructions as the normal cast, this path changed it to 2 which is the number of instructions we used.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D131552
[RISCV] Add cost model for mask vector extend and truncate instruction. ClosedPublic Authored by jacquesguan on Aug 10 2022, 2:29 AM.
Details Summary As extending from or truncating to mask vector do not use the same instructions as the normal cast, this path changed it to 2 which is the number of instructions we used.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Aug 10 2022, 7:16 AM This revision was landed with ongoing or failed builds.Aug 10 2022, 7:56 PM Closed by commit rG21bf59c92af1: [RISCV] Add cost model for mask vector extend and truncate instruction. (authored by jacquesguan). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 451709 llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
llvm/test/Analysis/CostModel/RISCV/cast.ll
|