summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-10-05 02:16:12 +0000
committerChris Lattner <sabre@nondot.org>2008-10-05 02:16:12 +0000
commitf9325e5f67b51e8ba494ce04492e3bbc1f2e3a11 (patch)
tree11574f4b5744e29c8523315e69c05eb098d98b8d
parent917a6c134377789f0aac4fb5cce00ce5a8a184b9 (diff)
downloadbcm5719-llvm-f9325e5f67b51e8ba494ce04492e3bbc1f2e3a11.tar.gz
bcm5719-llvm-f9325e5f67b51e8ba494ce04492e3bbc1f2e3a11.zip
this case is matched now.
llvm-svn: 57096
-rw-r--r--llvm/lib/Target/README.txt10
1 files changed, 1 insertions, 9 deletions
diff --git a/llvm/lib/Target/README.txt b/llvm/lib/Target/README.txt
index 0214cbb84c4..faa351a51b4 100644
--- a/llvm/lib/Target/README.txt
+++ b/llvm/lib/Target/README.txt
@@ -271,15 +271,7 @@ alas...
//===---------------------------------------------------------------------===//
-This isn't recognized as bswap by instcombine:
-
-unsigned int swap_32(unsigned int v) {
- v = ((v & 0x00ff00ffU) << 8) | ((v & 0xff00ff00U) >> 8);
- v = ((v & 0x0000ffffU) << 16) | ((v & 0xffff0000U) >> 16);
- return v;
-}
-
-Nor is this (yes, it really is bswap):
+This isn't recognized as bswap by instcombine (yes, it really is bswap):
unsigned long reverse(unsigned v) {
unsigned t;
OpenPOWER on IntegriCloud