Skip to content
Commit 6cadac8f authored by Nate Begeman's avatar Nate Begeman
Browse files

Kill casts from integer types to unsigned byte, when the cast was only used

as the shift amount operand to a shift instruction.  This was causing us to
emit unnecessary clear operations for code such as:
int foo(int x) { return 1 << x; }

llvm-svn: 17175
parent 37a7102c
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