Skip to content
Commit af2920ec authored by Simon Pilgrim's avatar Simon Pilgrim
Browse files

[TTI][X86] getArithmeticInstrCost - move opcode canonicalization before all...

[TTI][X86] getArithmeticInstrCost - move opcode canonicalization before all target-specific costs. NFCI.

The GLM/SLM special cases still get tested first but after the the MUL/DIV/REM pattern detection - this will be necessary for when we make the SLM vXi32 MUL canonicalization generic to improve PMULLW/PMULHW/PMADDDW cost support etc.
parent 7c25a328
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment