Proving once again that I am not as smart as the compiler
authorNate Begeman <natebegeman@mac.com>
Mon, 8 May 2006 19:09:24 +0000 (19:09 +0000)
committerNate Begeman <natebegeman@mac.com>
Mon, 8 May 2006 19:09:24 +0000 (19:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28169 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/README.txt

index fb6302580a7f6b4e20027c9888dffef5cc975f4c..21d0165077400789ffa371ad5091e8fe50fea88e 100644 (file)
@@ -525,8 +525,7 @@ as:
 
 _foo:
         lwz r2, 0(r3)
-        slwi r4, r2, 1
-        rlwinm r4, r4, 0, 0, 0
+        rlwinm r4, r2, 1, 0, 0
         or r2, r2, r4
         stw r2, 0(r3)
         blr