This was a bug introduced in d764aa. A pointer type is not a primitive type, and thus we were ending up dividing by zero when computing VLMax.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D128219
[RISCV] Fix crash when costing scalable gather/scatter of pointer ClosedPublic Authored by reames on Jun 20 2022, 12:11 PM.
Details Summary This was a bug introduced in d764aa. A pointer type is not a primitive type, and thus we were ending up dividing by zero when computing VLMax.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jun 20 2022, 12:32 PM This revision was landed with ongoing or failed builds.Jun 20 2022, 12:51 PM Closed by commit rG0aebd1d87586: [RISCV] Fix crash when costing scalable gather/scatter of pointer (authored by reames). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 438460 llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
llvm/test/Analysis/CostModel/RISCV/scalable-gather.ll
llvm/test/Analysis/CostModel/RISCV/scalable-scatter.ll
|