diff options
| author | Cameron Zwarich <zwarich@apple.com> | 2011-03-11 04:54:27 +0000 |
|---|---|---|
| committer | Cameron Zwarich <zwarich@apple.com> | 2011-03-11 04:54:27 +0000 |
| commit | cc27b3acc428709a5ba5bff18f1113bf9ce99819 (patch) | |
| tree | d26180c20660f3632829623d9c024db02e00d0a7 /llvm/test/CodeGen/CellSPU | |
| parent | 7684ddee7cc6d502f4250f347e158840e969bb18 (diff) | |
| download | bcm5719-llvm-cc27b3acc428709a5ba5bff18f1113bf9ce99819.tar.gz bcm5719-llvm-cc27b3acc428709a5ba5bff18f1113bf9ce99819.zip | |
Optimize trivial branches in CodeGenPrepare, which often get created from the
lowering of objectsize intrinsics. Unfortunately, a number of tests were relying
on llc not optimizing trivial branches, so I had to add an option to allow them
to continue to test what they originally tested.
This fixes <rdar://problem/8785296> and <rdar://problem/9112893>.
llvm-svn: 127459
Diffstat (limited to 'llvm/test/CodeGen/CellSPU')
| -rw-r--r-- | llvm/test/CodeGen/CellSPU/jumptable.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/CellSPU/jumptable.ll b/llvm/test/CodeGen/CellSPU/jumptable.ll index 42b41b3bf29..87376ef6ed5 100644 --- a/llvm/test/CodeGen/CellSPU/jumptable.ll +++ b/llvm/test/CodeGen/CellSPU/jumptable.ll @@ -1,4 +1,4 @@ -;RUN: llc --march=cellspu %s -o - | FileCheck %s +;RUN: llc --march=cellspu -disable-cgp-branch-opts %s -o - | FileCheck %s ; This is to check that emitting jumptables doesn't crash llc define i32 @test(i32 %param) { entry: |

