Skip to content
Snippets Groups Projects
Commit e39c7ab2 authored by Craig Topper's avatar Craig Topper
Browse files

[CostModel][X86][ARM] Teach default implementation of getCastInstrCost to not...

[CostModel][X86][ARM] Teach default implementation of getCastInstrCost to not add a split/join cost if source type and the destination type both have a SplitVector action

If both the source and the destination need to be split then the two halves of the split operation are completely independent and don't need to be split or joined. So we don't need to assess a cost for the split or join.

Differential Revision: https://reviews.llvm.org/D79111
parent 8555c913
No related branches found
No related tags found
No related merge requests found
Showing
with 676 additions and 670 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment