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 | 592ca3fda918c2066d9d78ed360e5fd69066fda7 (patch) | |
tree | e16237cd82f87e7e41a0f442ffdd115d86de78ce /test/CodeGen/X86/personality.ll | |
parent | 4a6d735105ffac5f58499ef5a5de8713b458b233 (diff) | |
download | llvm-592ca3fda918c2066d9d78ed360e5fd69066fda7.tar.gz llvm-592ca3fda918c2066d9d78ed360e5fd69066fda7.tar.bz2 llvm-592ca3fda918c2066d9d78ed360e5fd69066fda7.tar.xz |
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>.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127459 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/personality.ll')
-rw-r--r-- | test/CodeGen/X86/personality.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/personality.ll b/test/CodeGen/X86/personality.ll index 6789bb0c0f..705e489eb4 100644 --- a/test/CodeGen/X86/personality.ll +++ b/test/CodeGen/X86/personality.ll @@ -1,5 +1,5 @@ -; RUN: llc < %s -mtriple=x86_64-apple-darwin9 | FileCheck %s -check-prefix=X64 -; RUN: llc < %s -mtriple=i386-apple-darwin9 | FileCheck %s -check-prefix=X32 +; RUN: llc < %s -mtriple=x86_64-apple-darwin9 -disable-cgp-branch-opts | FileCheck %s -check-prefix=X64 +; RUN: llc < %s -mtriple=i386-apple-darwin9 -disable-cgp-branch-opts | FileCheck %s -check-prefix=X32 ; PR1632 define void @_Z1fv() { |