summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC
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
commit5e241b11ed541145bb13759793d85485bdd73808 (patch)
tree56d5bff6a92c952a0fc247cd067617cd681651a6 /llvm/test/CodeGen/PowerPC
parent04d6aa2b38daab53a03147c9c24cbc9c738b0fec (diff)
downloadbcm5719-llvm-5e241b11ed541145bb13759793d85485bdd73808.tar.gz
bcm5719-llvm-5e241b11ed541145bb13759793d85485bdd73808.zip
[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 llvm-svn: 264689
Diffstat (limited to 'llvm/test/CodeGen/PowerPC')
-rw-r--r--llvm/test/CodeGen/PowerPC/pr26690.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/PowerPC/pr26690.ll b/llvm/test/CodeGen/PowerPC/pr26690.ll
index 3e7662409d5..524e8b524bf 100644
--- a/llvm/test/CodeGen/PowerPC/pr26690.ll
+++ b/llvm/test/CodeGen/PowerPC/pr26690.ll
@@ -35,9 +35,9 @@ while.body.lr.ph: ; preds = %while.cond.preheade
while.body: ; preds = %while.body.backedge, %while.body.lr.ph
switch i32 %.pre, label %while.body.backedge [
i32 0, label %sw.bb1
- i32 8, label %sw.bb1
- i32 6, label %sw.bb1
- i32 24, label %while.cond.backedge
+ i32 80, label %sw.bb1
+ i32 60, label %sw.bb1
+ i32 240, label %while.cond.backedge
]
while.body.backedge: ; preds = %while.body, %while.cond.backedge
OpenPOWER on IntegriCloud