If the same value is going to be vectorized several times in the same
tree entry, this entry is considered to be a gather entry and cost of
this gather is counter as cost of InsertElementInstrs for each gathered
value. But we can consider these elements as ShuffleInstr with
SK_PermuteSingle shuffle kind.
Details
Details
- Reviewers
spatel RKSimon mkuper hfinkel - Commits
- rG9c5c103283a9: [SLP] Fix for PR32086: Count InsertElementInstr of the same elements as shuffle.
rG167003df28ff: [SLP] Fix for PR32086: Count InsertElementInstr of the same elements as shuffle.
rGc8cfa14b6dc4: [SLP] Fix for PR32086: Count InsertElementInstr of the same elements as shuffle.
rGad51fe364429: [SLP] Fix for PR32086: Count InsertElementInstr of the same elements as shuffle.
rG4bd8e5332fa5: [SLP] Fix for PR32086: Count InsertElementInstr of the same elements as shuffle.
rG6719e2418c1d: [SLP] Fix for PR32086: Count InsertElementInstr of the same elements as shuffle.
rL323662: [SLP] Fix for PR32086: Count InsertElementInstr of the same elements as shuffle.
rL323530: [SLP] Fix for PR32086: Count InsertElementInstr of the same elements as shuffle.
rL323441: [SLP] Fix for PR32086: Count InsertElementInstr of the same elements as shuffle.
rL323430: [SLP] Fix for PR32086: Count InsertElementInstr of the same elements as shuffle.
rL323348: [SLP] Fix for PR32086: Count InsertElementInstr of the same elements as shuffle.
rL323246: [SLP] Fix for PR32086: Count InsertElementInstr of the same elements as shuffle.
Diff Detail
Diff Detail
- Build Status
Buildable 10981 Build 10981: arc lint + arc unit
Event Timeline
Comment Actions
This patch seems to change the blending-shuffle.ll test case in the same way as D38693 - what is the relationship/dependency between them?
Comment Actions
Yes, these patches do the same for this particular tests. But D38693 fixes the global problem with the handling of ExtractElementInsts, while this one can fix the only pattern used in blending-shuffle.ll. These patches can do the same, but only for limited number of patterns.
Spelling mistake - ShuffledIndices not ShuffledIndicies