mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-05 10:17:37 +00:00
add a note
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26762 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4d9b10b098
commit
cbd3cdd239
@ -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