summaryrefslogtreecommitdiff
path: root/test/CodeGen/Thumb2
diff options
context:
space:
mode:
authorKyle Butt <kyle+llvm@iteratee.net>2016-03-29 00:23:41 +0000
committerKyle Butt <kyle+llvm@iteratee.net>2016-03-29 00:23:41 +0000
commitb76dcf45e6b9cb82d54d5de6e42c6cd61036d910 (patch)
treee5d81833c03c00868b2280f7a1610ff3bae6e8a6 /test/CodeGen/Thumb2
parent418032a1c85f32ac97e0c3905889ccf96378362e (diff)
[Codegen] Decrease minimum jump table density.
Minimum density for both optsize and non optsize are now options -sparse-jump-table-density (default 10) for non optsize functions -dense-jump-table-density (default 40) for optsize functions, which matches the current default. This improves several benchmarks at google at the cost of a small codesize increase. For code compiled with -Os, the old behavior continues git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@264689 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Thumb2')
-rw-r--r--test/CodeGen/Thumb2/ldr-str-imm12.ll20
1 files changed, 10 insertions, 10 deletions
diff --git a/test/CodeGen/Thumb2/ldr-str-imm12.ll b/test/CodeGen/Thumb2/ldr-str-imm12.ll
index d20eef0c8bb..3e4bd02097a 100644
--- a/test/CodeGen/Thumb2/ldr-str-imm12.ll
+++ b/test/CodeGen/Thumb2/ldr-str-imm12.ll
@@ -29,16 +29,16 @@ entry:
bb20: ; preds = %entry
switch i32 undef, label %bb1287 [
- i32 11, label %bb119
- i32 12, label %bb119
- i32 21, label %bb420
- i32 23, label %bb420
- i32 45, label %bb438
- i32 46, label %bb438
- i32 55, label %bb533
- i32 56, label %bb569
- i32 64, label %bb745
- i32 78, label %bb1098
+ i32 110, label %bb119
+ i32 120, label %bb119
+ i32 210, label %bb420
+ i32 230, label %bb420
+ i32 450, label %bb438
+ i32 460, label %bb438
+ i32 550, label %bb533
+ i32 560, label %bb569
+ i32 640, label %bb745
+ i32 780, label %bb1098
]
bb119: ; preds = %bb20, %bb20