forked from llvm/llvm-project
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CostModel][X86] getShuffleCost - use processShuffleMasks to split SK…
…_PermuteTwoSrc shuffles to legal types (llvm#120599) processShuffleMasks can now correctly handle 2 src shuffles, so we can use the existing SK_PermuteSingleSrc splitting cost logic to handle SK_PermuteTwoSrc as well and correctly recognise the number of active subvectors per legalised shuffle.
- Loading branch information
Showing
22 changed files
with
1,073 additions
and
934 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
108 changes: 47 additions & 61 deletions
108
llvm/test/Analysis/CostModel/X86/shuffle-concat_subvector-codesize.ll
Large diffs are not rendered by default.
Oops, something went wrong.
108 changes: 47 additions & 61 deletions
108
llvm/test/Analysis/CostModel/X86/shuffle-concat_subvector-latency.ll
Large diffs are not rendered by default.
Oops, something went wrong.
108 changes: 47 additions & 61 deletions
108
llvm/test/Analysis/CostModel/X86/shuffle-concat_subvector-sizelatency.ll
Large diffs are not rendered by default.
Oops, something went wrong.
108 changes: 47 additions & 61 deletions
108
llvm/test/Analysis/CostModel/X86/shuffle-concat_subvector.ll
Large diffs are not rendered by default.
Oops, something went wrong.
152 changes: 76 additions & 76 deletions
152
llvm/test/Analysis/CostModel/X86/shuffle-insert_subvector-codesize.ll
Large diffs are not rendered by default.
Oops, something went wrong.
152 changes: 76 additions & 76 deletions
152
llvm/test/Analysis/CostModel/X86/shuffle-insert_subvector-latency.ll
Large diffs are not rendered by default.
Oops, something went wrong.
152 changes: 76 additions & 76 deletions
152
llvm/test/Analysis/CostModel/X86/shuffle-insert_subvector-sizelatency.ll
Large diffs are not rendered by default.
Oops, something went wrong.
152 changes: 76 additions & 76 deletions
152
llvm/test/Analysis/CostModel/X86/shuffle-insert_subvector.ll
Large diffs are not rendered by default.
Oops, something went wrong.
210 changes: 128 additions & 82 deletions
210
llvm/test/Analysis/CostModel/X86/shuffle-two-src-codesize.ll
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.