summaryrefslogtreecommitdiff
path: root/include/llvm/Support/Format.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-12-22 19:33:28 +0000
committerChris Lattner <sabre@nondot.org>2009-12-22 19:33:28 +0000
commitaadadb3973bb202cd4d2e20e842588162e780f13 (patch)
tree90508ffd07e8b4e9a8d4fe54cc4f16c88441cb91 /include/llvm/Support/Format.h
parent97eee027f980464fde0a9374fa90bac6a771c4dc (diff)
downloadllvm-aadadb3973bb202cd4d2e20e842588162e780f13.tar.gz
llvm-aadadb3973bb202cd4d2e20e842588162e780f13.tar.bz2
llvm-aadadb3973bb202cd4d2e20e842588162e780f13.tar.xz
Fix the Convert to scalar to not insert dead loads in the store case. The
load is needed when we have a small store into a large alloca (at which point we get a load/insert/store sequence), but when you do a full-sized store, this load ends up being dead. This dead load is bad in really large nasty testcases where the load ends up causing mem2reg to insert large chains of dependent phi nodes which only ADCE can delete. Instead of doing this, just don't insert the dead load. This fixes rdar://6864035 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91917 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/Format.h')
0 files changed, 0 insertions, 0 deletions