Skip to content
Commit cfb7f3ab authored by Evan Cheng's avatar Evan Cheng
Browse files

Transform (x << (y&31)) -> (x << y). This takes advantage of the fact x86...

Transform (x << (y&31)) -> (x << y). This takes advantage of the fact x86 shift instructions 2nd operand (shift count) is limited to 0 to 31 (or 63 in the x86-64 case).

llvm-svn: 55558
parent 8eec985a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment