diff options
author | Chris Lattner <sabre@nondot.org> | 2010-11-18 06:41:51 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-11-18 06:41:51 +0000 |
commit | 6248065194778c866164b0c10f09f0f0d91b91ac (patch) | |
tree | eec283653b335667e90bc163995d1d3b7339829f /test/Transforms/InstCombine/call-intrinsics.ll | |
parent | a9be1df6d7a9b5a07253d83a634ae5876e7e5550 (diff) | |
download | external_llvm-6248065194778c866164b0c10f09f0f0d91b91ac.zip external_llvm-6248065194778c866164b0c10f09f0f0d91b91ac.tar.gz external_llvm-6248065194778c866164b0c10f09f0f0d91b91ac.tar.bz2 |
allow eliminating an alloca that is just copied from an constant global
if it is passed as a byval argument. The byval argument will just be a
read, so it is safe to read from the original global instead. This allows
us to promote away the %agg.tmp alloca in PR8582
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119686 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/InstCombine/call-intrinsics.ll')
0 files changed, 0 insertions, 0 deletions