projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0a7e18c
)
Add another bswap idiom that isn't matched.
author
Eric Christopher
<echristo@apple.com>
Tue, 29 Jun 2010 22:22:22 +0000
(22:22 +0000)
committer
Eric Christopher
<echristo@apple.com>
Tue, 29 Jun 2010 22:22:22 +0000
(22:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107213
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/README.txt
patch
|
blob
|
history
diff --git
a/lib/Target/README.txt
b/lib/Target/README.txt
index efb91a1b2839db35a5103c57fe2dcc064715a985..b1080b594ff1cd100e1219f23c44f490208cd4d9 100644
(file)
--- a/
lib/Target/README.txt
+++ b/
lib/Target/README.txt
@@
-300,6
+300,14
@@
unsigned long reverse(unsigned v) {
return v ^ (t >> 8);
}
return v ^ (t >> 8);
}
+Neither is this (very standard idiom):
+
+int f(int n)
+{
+ return (((n) << 24) | (((n) & 0xff00) << 8)
+ | (((n) >> 8) & 0xff00) | ((n) >> 24));
+}
+
//===---------------------------------------------------------------------===//
[LOOP RECOGNITION]
//===---------------------------------------------------------------------===//
[LOOP RECOGNITION]