Commit db870cfc authored by Eikansh Gupta's avatar Eikansh Gupta Committed by Nikita Popov
Browse files

[InstCombine] Extract helper from matchFunnelShift (NFC)

The matchFunnelShift function was doing pattern matching and creating
the fshl/fshr instruction if needed. Moved the pattern matching code to
function convertOrOfShiftsToFunnelShift. It can be reused for other
optimizations.
parent a80a01fc
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