Commit bbfdb8cc authored by Simon Pilgrim's avatar Simon Pilgrim
Browse files

[CostModel][X86] Add scalar rotate-by-immediate costs

As noted on #63980 rotate by immediate amounts is much cheaper than variable amounts.

This still needs to be expanded to vector rotate cases, and we need to add reasonable funnel-shift costs as well (very tricky as there's a huge range in CPU behaviour for these).
parent 315946c5
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