this case is matched now.
authorChris Lattner <sabre@nondot.org>
Sun, 5 Oct 2008 02:16:12 +0000 (02:16 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 5 Oct 2008 02:16:12 +0000 (02:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57096 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/README.txt

index 0214cbb84c434c9b2c219749cf1f94e53ccdc3af..faa351a51b486f20b023eb92c4fb7c03c98eff5a 100644 (file)
@@ -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;