mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
add a note
llvm-svn: 26762
This commit is contained in:
parent
f531c37a82
commit
9df7eb4071
@ -113,3 +113,11 @@ for 1,2,4,8 bytes.
|
||||
|
||||
//===---------------------------------------------------------------------===//
|
||||
|
||||
This code:
|
||||
int rot(unsigned char b) { int a = ((b>>1) ^ (b<<7)) & 0xff; return a; }
|
||||
|
||||
Can be improved in two ways:
|
||||
|
||||
1. The instcombiner should eliminate the type conversions.
|
||||
2. The X86 backend should turn this into a rotate by one bit.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user