This patch adds support for the addsub instructions in SLP's getEntryCost().
This relies on extending TTI->getShuffleCost() to return the correct cost
for such instructions.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Moved the cost calculation code from getShuffleCost() to a separate function: getAltInstrCost().