Commit 854a4595 authored by Simon Pilgrim's avatar Simon Pilgrim
Browse files

[CostModel][X86] getArithmeticInstrCost - move GLM/SLM custom costs AFTER...

[CostModel][X86] getArithmeticInstrCost - move GLM/SLM custom costs AFTER constant shift -> multiply canonicalization

Corrects the shift by constant costs to better account for them being converted to multiples for lowering - which demonstrates that we should probably be trying harder NOT to convert these to multiplies for some CPUs (v4i32 in particular).
parent 40ab7875
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment