diff options
author | Jim Grosbach <grosbach@apple.com> | 2013-03-06 05:44:53 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2013-03-06 05:44:53 +0000 |
commit | 186d8a3d67ccd2b2401c5d7d4e2cc15c4d1fdeae (patch) | |
tree | 6576d682ded82491fbd57f9bfee66256ee1a8b64 /test/Transforms/Inline | |
parent | 508d11b19cfd0f2231037d28f4ce6ab428929d3b (diff) |
InstCombine: Don't shrink allocas when combining with a bitcast.
When considering folding a bitcast of an alloca into the alloca itself,
make sure we don't shrink the amount of memory being allocated, or
things rapidly go sideways.
rdar://13324424
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176547 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/Inline')
-rw-r--r-- | test/Transforms/Inline/devirtualize.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/Inline/devirtualize.ll b/test/Transforms/Inline/devirtualize.ll index 18bbf7a6f6..d46154ef6a 100644 --- a/test/Transforms/Inline/devirtualize.ll +++ b/test/Transforms/Inline/devirtualize.ll @@ -1,4 +1,4 @@ -; RUN: opt -S -basicaa -inline -scalarrepl -instcombine -simplifycfg -instcombine -gvn -globaldce < %s | FileCheck %s +; RUN: opt -S -Os < %s | FileCheck %s target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64" target triple = "x86_64-apple-darwin10.0.0" |