Skip to content
Commit 2099ccbe authored by Craig Topper's avatar Craig Topper
Browse files

[X86] Add test cases for turning (and (shl X, C1), C2) into (shl (and X, (C1...

[X86] Add test cases for turning (and (shl X, C1), C2) into (shl (and X, (C1 >> C2), C2) when the AND could match to a movzx.

We already reorder when C1 >> C2 would allow a smaller immediate encoding.

llvm-svn: 358736
parent f73caae9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment