[llvm-commits] [llvm] r145817 - /llvm/trunk/test/CodeGen/PowerPC/2010-02-12-saveCR.ll

Hal Finkel hfinkel at anl.gov
Mon Dec 5 09:55:06 PST 2011


Author: hfinkel
Date: Mon Dec  5 11:55:06 2011
New Revision: 145817

URL: http://llvm.org/viewvc/llvm-project?rev=145817&view=rev
Log:
remove wasted space for extra bit copies of CR2 subregs

Modified:
    llvm/trunk/test/CodeGen/PowerPC/2010-02-12-saveCR.ll

Modified: llvm/trunk/test/CodeGen/PowerPC/2010-02-12-saveCR.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2010-02-12-saveCR.ll?rev=145817&r1=145816&r2=145817&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2010-02-12-saveCR.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2010-02-12-saveCR.ll Mon Dec  5 11:55:06 2011
@@ -9,7 +9,7 @@
 ;CHECK:  mfcr r2
 ;CHECK:  lis r0, 1
 ;CHECK:  rlwinm r2, r2, 8, 0, 31
-;CHECK:  ori r0, r0, 34540
+;CHECK:  ori r0, r0, 34524
 ;CHECK:  stwx r2, r1, r0
   %x = alloca [100000 x i8]                       ; <[100000 x i8]*> [#uses=1]
   %"alloca point" = bitcast i32 0 to i32          ; <i32> [#uses=0]
@@ -20,7 +20,7 @@
 
 return:                                           ; preds = %entry
 ;CHECK:  lis r0, 1
-;CHECK:  ori r0, r0, 34540
+;CHECK:  ori r0, r0, 34524
 ;CHECK:  lwzx r2, r1, r0
 ;CHECK:  rlwinm r2, r2, 24, 0, 31
 ;CHECK:  mtcrf 32, r2





More information about the llvm-commits mailing list