Introduced the cost of thre reverse shuffles for AArch64, currently just
copied the costs for PermuteSingleSrc.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Thanks. LGTM
| llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp | ||
|---|---|---|
| 1483 | This can say something like "Reverse can are lowered with rev. | |
| llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp | ||
|---|---|---|
| 1483 | Ok,will add | |
clang-format: please reformat the code
- // Broadcast shuffle kinds can be performed with 'dup'. - { TTI::SK_Broadcast, MVT::v8i8, 1 }, - { TTI::SK_Broadcast, MVT::v16i8, 1 }, - { TTI::SK_Broadcast, MVT::v4i16, 1 }, - { TTI::SK_Broadcast, MVT::v8i16, 1 }, - { TTI::SK_Broadcast, MVT::v2i32, 1 }, - { TTI::SK_Broadcast, MVT::v4i32, 1 }, - { TTI::SK_Broadcast, MVT::v2i64, 1 }, - { TTI::SK_Broadcast, MVT::v2f32, 1 }, - { TTI::SK_Broadcast, MVT::v4f32, 1 },126 diff lines are omitted. See full path.