1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00

add a note

llvm-svn: 26762
This commit is contained in:
Chris Lattner 2006-03-14 19:31:24 +00:00
parent f531c37a82
commit 9df7eb4071

View File

@ -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.