[llvm] r363839 - [AArch64] Improve jump tables testing (NFC)
Evandro Menezes via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 19 09:59:34 PDT 2019
Author: evandro
Date: Wed Jun 19 09:59:34 2019
New Revision: 363839
URL: http://llvm.org/viewvc/llvm-project?rev=363839&view=rev
Log:
[AArch64] Improve jump tables testing (NFC)
Improve testing of the minimum and maximum sizes of jump tables.
Modified:
llvm/trunk/test/CodeGen/AArch64/max-jump-table.ll
Modified: llvm/trunk/test/CodeGen/AArch64/max-jump-table.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/AArch64/max-jump-table.ll?rev=363839&r1=363838&r2=363839&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/AArch64/max-jump-table.ll (original)
+++ llvm/trunk/test/CodeGen/AArch64/max-jump-table.ll Wed Jun 19 09:59:34 2019
@@ -30,20 +30,22 @@ entry:
]
; CHECK-LABEL: function jt1:
; CHECK-NEXT: Jump Tables:
-; CHECK0-NEXT: %jump-table.0:
+; CHECK0-NEXT: %jump-table.0: %bb.1 %bb.2 %bb.3 %bb.4 %bb.5 %bb.6 %bb.7 %bb.8 %bb.9 %bb.10 %bb.11 %bb.12 %bb.13 %bb.14 %bb.15 %bb.16 %bb.17
; CHECK0-NOT: %jump-table.1:
-; CHECK4-NEXT: %jump-table.0:
-; CHECK4-SAME: %jump-table.1:
-; CHECK4-SAME: %jump-table.2:
-; CHECK4-SAME: %jump-table.3:
+; CHECK4-NEXT: %jump-table.0: %bb.2 %bb.3 %bb.4 %bb.5
+; CHECK4-SAME: %jump-table.1: %bb.6 %bb.7 %bb.8 %bb.9
+; CHECK4-SAME: %jump-table.2: %bb.10 %bb.11 %bb.12 %bb.13
+; CHECK4-SAME: %jump-table.3: %bb.14 %bb.15 %bb.16 %bb.17
; CHECK4-NOT: %jump-table.4:
-; CHECK8-NEXT: %jump-table.0:
-; CHECK8-SAME: %jump-table.1:
+; CHECK8-NEXT: %jump-table.0: %bb.2 %bb.3 %bb.4 %bb.5 %bb.6 %bb.7 %bb.8 %bb.9
+; CHECK8-SAME: %jump-table.1: %bb.10 %bb.11 %bb.12 %bb.13 %bb.14 %bb.15 %bb.16 %bb.17
; CHECK8-NOT: %jump-table.2:
-; CHECKM1-NEXT: %jump-table.0:
-; CHECKM1-SAME: %jump-table.1
+; CHECK16-NEXT: %jump-table.0: %bb.2 %bb.3 %bb.4 %bb.5 %bb.6 %bb.7 %bb.8 %bb.9 %bb.10 %bb.11 %bb.12 %bb.13 %bb.14 %bb.15 %bb.16 %bb.17
+; CHECK16-NOT: %jump-table.1:
+; CHECKM1-NEXT: %jump-table.0: %bb.2 %bb.3 %bb.4 %bb.5 %bb.6 %bb.7 %bb.8 %bb.9
+; CHECKM1-SAME: %jump-table.1: %bb.10 %bb.11 %bb.12 %bb.13 %bb.14 %bb.15 %bb.16 %bb.17
; CHECKM1-NOT: %jump-table.2:
-; CHECKM3-NEXT: %jump-table.0:
+; CHECKM3-NEXT: %jump-table.0: %bb.1 %bb.2 %bb.3 %bb.4 %bb.5 %bb.6 %bb.7 %bb.8 %bb.9 %bb.10 %bb.11 %bb.12 %bb.13 %bb.14 %bb.15 %bb.16 %bb.17
; CHECKM3-NOT: %jump-table.1:
bb1: tail call void @ext(i32 1, i32 0) br label %return
@@ -86,6 +88,8 @@ entry:
; CHECK4-NOT: %jump-table.1
; CHECK8-NEXT: %jump-table.0: %bb.1 %bb.2 %bb.3 %bb.4{{$}}
; CHECK8-NOT: %jump-table.1
+; CHECK16-NEXT: %jump-table.0: %bb.1 %bb.2 %bb.3 %bb.4 %bb.7 %bb.7 %bb.7 %bb.7 %bb.7 %bb.7 %bb.7 %bb.7 %bb.7 %bb.5 %bb.6{{$}}
+; CHECK16-NOT: %jump-table.1:
; CHECKM1-NEXT: %jump-table.0: %bb.1 %bb.2 %bb.3 %bb.4{{$}}
; CHECKM1-NOT: %jump-table.1
; CHECKM3-NEXT: %jump-table.0: %bb.1 %bb.2 %bb.3 %bb.4 %bb.7 %bb.7 %bb.7 %bb.7 %bb.7 %bb.7 %bb.7 %bb.7 %bb.7 %bb.5 %bb.6{{$}}
More information about the llvm-commits
mailing list