[llvm-commits] [llvm] r145678 - in /llvm/trunk/test/CodeGen/PowerPC: 2010-02-12-saveCR.ll Frames-large.ll big-endian-formal-args.ll indirectbr.ll
Hal Finkel
hfinkel at anl.gov
Thu Dec 1 20:58:12 PST 2011
Author: hfinkel
Date: Thu Dec 1 22:58:12 2011
New Revision: 145678
URL: http://llvm.org/viewvc/llvm-project?rev=145678&view=rev
Log:
adjust the instruction ordering in some PPC tests: changes due to postRA haz. rec.
Modified:
llvm/trunk/test/CodeGen/PowerPC/2010-02-12-saveCR.ll
llvm/trunk/test/CodeGen/PowerPC/Frames-large.ll
llvm/trunk/test/CodeGen/PowerPC/big-endian-formal-args.ll
llvm/trunk/test/CodeGen/PowerPC/indirectbr.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=145678&r1=145677&r2=145678&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2010-02-12-saveCR.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2010-02-12-saveCR.ll Thu Dec 1 22:58:12 2011
@@ -7,8 +7,8 @@
define void @foo() nounwind {
entry:
;CHECK: mfcr r2
-;CHECK: rlwinm r2, r2, 8, 0, 31
;CHECK: lis r0, 1
+;CHECK: rlwinm r2, r2, 8, 0, 31
;CHECK: ori r0, r0, 34540
;CHECK: stwx r2, r1, r0
%x = alloca [100000 x i8] ; <[100000 x i8]*> [#uses=1]
Modified: llvm/trunk/test/CodeGen/PowerPC/Frames-large.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/Frames-large.ll?rev=145678&r1=145677&r2=145678&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/Frames-large.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/Frames-large.ll Thu Dec 1 22:58:12 2011
@@ -15,18 +15,20 @@
; PPC32-NOFP: _f1:
; PPC32-NOFP: lis r0, -1
+; PPC32-NOFP: addi r3, r1, 68
; PPC32-NOFP: ori r0, r0, 32704
; PPC32-NOFP: stwux r1, r1, r0
-; PPC32-NOFP: addi r3, r1, 68
; PPC32-NOFP: lwz r1, 0(r1)
; PPC32-NOFP: blr
+
; PPC32-FP: _f1:
-; PPC32-FP: stw r31, -4(r1)
; PPC32-FP: lis r0, -1
+; PPC32-FP: stw r31, -4(r1)
+; PPC32-FP: mr r31, r1
; PPC32-FP: ori r0, r0, 32704
+; PPC32-FP: addi r3, r31, 64
; PPC32-FP: stwux r1, r1, r0
-; ...
; PPC32-FP: lwz r1, 0(r1)
; PPC32-FP: lwz r31, -4(r1)
; PPC32-FP: blr
@@ -34,19 +36,20 @@
; PPC64-NOFP: _f1:
; PPC64-NOFP: lis r0, -1
+; PPC64-NOFP: addi r3, r1, 116
; PPC64-NOFP: ori r0, r0, 32656
; PPC64-NOFP: stdux r1, r1, r0
-; PPC64-NOFP: addi r3, r1, 116
; PPC64-NOFP: ld r1, 0(r1)
; PPC64-NOFP: blr
; PPC64-FP: _f1:
-; PPC64-FP: std r31, -8(r1)
; PPC64-FP: lis r0, -1
+; PPC64-FP: std r31, -8(r1)
+; PPC64-FP: mr r31, r1
; PPC64-FP: ori r0, r0, 32640
+; PPC64-FP: addi r3, r31, 124
; PPC64-FP: stdux r1, r1, r0
-; ...
; PPC64-FP: ld r1, 0(r1)
; PPC64-FP: ld r31, -8(r1)
; PPC64-FP: blr
Modified: llvm/trunk/test/CodeGen/PowerPC/big-endian-formal-args.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/big-endian-formal-args.ll?rev=145678&r1=145677&r2=145678&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/big-endian-formal-args.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/big-endian-formal-args.ll Thu Dec 1 22:58:12 2011
@@ -2,8 +2,8 @@
declare void @bar(i64 %x, i64 %y)
-; CHECK: li 4, 2
; CHECK: li {{[53]}}, 0
+; CHECK: li 4, 2
; CHECK: li 6, 3
; CHECK: mr {{[53]}}, {{[53]}}
Modified: llvm/trunk/test/CodeGen/PowerPC/indirectbr.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/indirectbr.ll?rev=145678&r1=145677&r2=145678&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/indirectbr.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/indirectbr.ll Thu Dec 1 22:58:12 2011
@@ -17,10 +17,22 @@
bb2: ; preds = %entry, %bb3
%gotovar.4.0 = phi i8* [ %gotovar.4.0.pre, %bb3 ], [ %0, %entry ] ; <i8*> [#uses=1]
; PIC: mtctr
+; PIC-NEXT: li
+; PIC-NEXT: li
+; PIC-NEXT: li
+; PIC-NEXT: li
; PIC-NEXT: bctr
; STATIC: mtctr
+; STATIC-NEXT: li
+; STATIC-NEXT: li
+; STATIC-NEXT: li
+; STATIC-NEXT: li
; STATIC-NEXT: bctr
; PPC64: mtctr
+; PPC64-NEXT: li
+; PPC64-NEXT: li
+; PPC64-NEXT: li
+; PPC64-NEXT: li
; PPC64-NEXT: bctr
indirectbr i8* %gotovar.4.0, [label %L5, label %L4, label %L3, label %L2, label %L1]
More information about the llvm-commits
mailing list