[llvm] 94aaaf4 - Update m68k tests to new block placement
Matthias Braun via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 25 11:35:49 PDT 2023
Author: Matthias Braun
Date: 2023-10-25T11:33:56-07:00
New Revision: 94aaaf4fb49c7057a9060a3d7888bdfb0c40734d
URL: https://github.com/llvm/llvm-project/commit/94aaaf4fb49c7057a9060a3d7888bdfb0c40734d
DIFF: https://github.com/llvm/llvm-project/commit/94aaaf4fb49c7057a9060a3d7888bdfb0c40734d.diff
LOG: Update m68k tests to new block placement
e3cf80c5c1fe55efd8216575ccadea0ab087e79c affected block placement of
some tests in the experimental m68k target. This updates them.
Added:
Modified:
llvm/test/CodeGen/M68k/CodeModel/medium-pic.ll
llvm/test/CodeGen/M68k/CodeModel/medium-static.ll
llvm/test/CodeGen/M68k/CodeModel/small-pic.ll
llvm/test/CodeGen/M68k/CodeModel/small-static.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/M68k/CodeModel/medium-pic.ll b/llvm/test/CodeGen/M68k/CodeModel/medium-pic.ll
index b82bee277522af5..2ab3115f87f5029 100644
--- a/llvm/test/CodeGen/M68k/CodeModel/medium-pic.ll
+++ b/llvm/test/CodeGen/M68k/CodeModel/medium-pic.ll
@@ -135,16 +135,16 @@ define void @test7(i32 %n.u) nounwind {
; CHECK-NEXT: jmp (%a0)
; CHECK-NEXT: .LBB6_12: ; %bb2
; CHECK-NEXT: bra foo6 at PLT ; TAILCALL
-; CHECK-NEXT: .LBB6_3: ; %bb6
-; CHECK-NEXT: bra foo1 at PLT ; TAILCALL
-; CHECK-NEXT: .LBB6_8: ; %bb1
+; CHECK-NEXT: .LBB6_3: ; %bb5
+; CHECK-NEXT: bra foo5 at PLT ; TAILCALL
+; CHECK-NEXT: .LBB6_5: ; %bb1
; CHECK-NEXT: bra foo2 at PLT ; TAILCALL
-; CHECK-NEXT: .LBB6_9: ; %bb3
-; CHECK-NEXT: bra foo3 at PLT ; TAILCALL
-; CHECK-NEXT: .LBB6_10: ; %bb4
+; CHECK-NEXT: .LBB6_2: ; %bb
+; CHECK-NEXT: bra foo1 at PLT ; TAILCALL
+; CHECK-NEXT: .LBB6_9: ; %bb4
; CHECK-NEXT: bra foo4 at PLT ; TAILCALL
-; CHECK-NEXT: .LBB6_14: ; %bb11
-; CHECK-NEXT: bra foo5 at PLT ; TAILCALL
+; CHECK-NEXT: .LBB6_8: ; %bb3
+; CHECK-NEXT: bra foo3 at PLT ; TAILCALL
entry:
switch i32 %n.u, label %bb12 [i32 1, label %bb i32 2, label %bb6 i32 4, label %bb7 i32 5, label %bb8 i32 6, label %bb10 i32 7, label %bb1 i32 8, label %bb3 i32 9, label %bb4 i32 10, label %bb9 i32 11, label %bb2 i32 12, label %bb5 i32 13, label %bb11 ]
bb:
diff --git a/llvm/test/CodeGen/M68k/CodeModel/medium-static.ll b/llvm/test/CodeGen/M68k/CodeModel/medium-static.ll
index 35d60c4c8491928..1a544a971d266d2 100644
--- a/llvm/test/CodeGen/M68k/CodeModel/medium-static.ll
+++ b/llvm/test/CodeGen/M68k/CodeModel/medium-static.ll
@@ -119,16 +119,16 @@ define void @test7(i32 %n.u) nounwind {
; CHECK-NEXT: jmp (%a0)
; CHECK-NEXT: .LBB6_12: ; %bb2
; CHECK-NEXT: bra foo6 at PLT ; TAILCALL
-; CHECK-NEXT: .LBB6_3: ; %bb6
-; CHECK-NEXT: bra foo1 at PLT ; TAILCALL
-; CHECK-NEXT: .LBB6_8: ; %bb1
+; CHECK-NEXT: .LBB6_3: ; %bb5
+; CHECK-NEXT: bra foo5 at PLT ; TAILCALL
+; CHECK-NEXT: .LBB6_5: ; %bb1
; CHECK-NEXT: bra foo2 at PLT ; TAILCALL
-; CHECK-NEXT: .LBB6_9: ; %bb3
-; CHECK-NEXT: bra foo3 at PLT ; TAILCALL
-; CHECK-NEXT: .LBB6_10: ; %bb4
+; CHECK-NEXT: .LBB6_2: ; %bb
+; CHECK-NEXT: bra foo1 at PLT ; TAILCALL
+; CHECK-NEXT: .LBB6_9: ; %bb4
; CHECK-NEXT: bra foo4 at PLT ; TAILCALL
-; CHECK-NEXT: .LBB6_14: ; %bb11
-; CHECK-NEXT: bra foo5 at PLT ; TAILCALL
+; CHECK-NEXT: .LBB6_8: ; %bb3
+; CHECK-NEXT: bra foo3 at PLT ; TAILCALL
entry:
switch i32 %n.u, label %bb12 [i32 1, label %bb i32 2, label %bb6 i32 4, label %bb7 i32 5, label %bb8 i32 6, label %bb10 i32 7, label %bb1 i32 8, label %bb3 i32 9, label %bb4 i32 10, label %bb9 i32 11, label %bb2 i32 12, label %bb5 i32 13, label %bb11 ]
bb:
diff --git a/llvm/test/CodeGen/M68k/CodeModel/small-pic.ll b/llvm/test/CodeGen/M68k/CodeModel/small-pic.ll
index f1d1c2a18008f0c..1f39ec82db326e5 100644
--- a/llvm/test/CodeGen/M68k/CodeModel/small-pic.ll
+++ b/llvm/test/CodeGen/M68k/CodeModel/small-pic.ll
@@ -128,16 +128,16 @@ define void @test7(i32 %n.u) nounwind {
; CHECK-NEXT: jmp (%a0)
; CHECK-NEXT: .LBB6_12: ; %bb2
; CHECK-NEXT: bra foo6 at PLT ; TAILCALL
-; CHECK-NEXT: .LBB6_3: ; %bb6
-; CHECK-NEXT: bra foo1 at PLT ; TAILCALL
-; CHECK-NEXT: .LBB6_8: ; %bb1
+; CHECK-NEXT: .LBB6_3: ; %bb5
+; CHECK-NEXT: bra foo5 at PLT ; TAILCALL
+; CHECK-NEXT: .LBB6_5: ; %bb1
; CHECK-NEXT: bra foo2 at PLT ; TAILCALL
-; CHECK-NEXT: .LBB6_9: ; %bb3
-; CHECK-NEXT: bra foo3 at PLT ; TAILCALL
-; CHECK-NEXT: .LBB6_10: ; %bb4
+; CHECK-NEXT: .LBB6_2: ; %bb
+; CHECK-NEXT: bra foo1 at PLT ; TAILCALL
+; CHECK-NEXT: .LBB6_9: ; %bb4
; CHECK-NEXT: bra foo4 at PLT ; TAILCALL
-; CHECK-NEXT: .LBB6_14: ; %bb11
-; CHECK-NEXT: bra foo5 at PLT ; TAILCALL
+; CHECK-NEXT: .LBB6_8: ; %bb3
+; CHECK-NEXT: bra foo3 at PLT ; TAILCALL
entry:
switch i32 %n.u, label %bb12 [i32 1, label %bb i32 2, label %bb6 i32 4, label %bb7 i32 5, label %bb8 i32 6, label %bb10 i32 7, label %bb1 i32 8, label %bb3 i32 9, label %bb4 i32 10, label %bb9 i32 11, label %bb2 i32 12, label %bb5 i32 13, label %bb11 ]
bb:
diff --git a/llvm/test/CodeGen/M68k/CodeModel/small-static.ll b/llvm/test/CodeGen/M68k/CodeModel/small-static.ll
index 9c020a054f8783e..6ab9a7b61e4411d 100644
--- a/llvm/test/CodeGen/M68k/CodeModel/small-static.ll
+++ b/llvm/test/CodeGen/M68k/CodeModel/small-static.ll
@@ -121,16 +121,16 @@ define void @test7(i32 %n.u) nounwind {
; CHECK-NEXT: jmp (%a0)
; CHECK-NEXT: .LBB6_12: ; %bb2
; CHECK-NEXT: bra foo6 at PLT ; TAILCALL
-; CHECK-NEXT: .LBB6_3: ; %bb6
-; CHECK-NEXT: bra foo1 at PLT ; TAILCALL
-; CHECK-NEXT: .LBB6_8: ; %bb1
+; CHECK-NEXT: .LBB6_3: ; %bb5
+; CHECK-NEXT: bra foo5 at PLT ; TAILCALL
+; CHECK-NEXT: .LBB6_5: ; %bb1
; CHECK-NEXT: bra foo2 at PLT ; TAILCALL
-; CHECK-NEXT: .LBB6_9: ; %bb3
-; CHECK-NEXT: bra foo3 at PLT ; TAILCALL
-; CHECK-NEXT: .LBB6_10: ; %bb4
+; CHECK-NEXT: .LBB6_2: ; %bb
+; CHECK-NEXT: bra foo1 at PLT ; TAILCALL
+; CHECK-NEXT: .LBB6_9: ; %bb4
; CHECK-NEXT: bra foo4 at PLT ; TAILCALL
-; CHECK-NEXT: .LBB6_14: ; %bb11
-; CHECK-NEXT: bra foo5 at PLT ; TAILCALL
+; CHECK-NEXT: .LBB6_8: ; %bb3
+; CHECK-NEXT: bra foo3 at PLT ; TAILCALL
entry:
switch i32 %n.u, label %bb12 [i32 1, label %bb i32 2, label %bb6 i32 4, label %bb7 i32 5, label %bb8 i32 6, label %bb10 i32 7, label %bb1 i32 8, label %bb3 i32 9, label %bb4 i32 10, label %bb9 i32 11, label %bb2 i32 12, label %bb5 i32 13, label %bb11 ]
bb:
More information about the llvm-commits
mailing list