add a note

llvm-svn: 26448
This commit is contained in:
Chris Lattner 2006-03-01 06:36:20 +00:00
parent 27f5345b1f
commit 3cb349a068
1 changed files with 18 additions and 0 deletions

View File

@ -434,3 +434,21 @@ int f(signed char *a, _Bool b, _Bool c) {
if (c) *a = t;
}
===-------------------------------------------------------------------------===
This:
int test(unsigned *P) { return *P >> 24; }
Should compile to:
_test:
lbz r3,0(r3)
blr
not:
_test:
lwz r2, 0(r3)
srwi r3, r2, 24
blr