aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp
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
commitc0f6402a9415b091555c9b84a5ad62de085e4266 (patch)
treea939c48f745c1ac34c09d579718c5578442d7602 /llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp
parentfda3b559e6b5138473d1d290728a61dcab767af4 (diff)
downloadllvm-c0f6402a9415b091555c9b84a5ad62de085e4266.zip
llvm-c0f6402a9415b091555c9b84a5ad62de085e4266.tar.gz
llvm-c0f6402a9415b091555c9b84a5ad62de085e4266.tar.bz2
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 llvm-svn: 91917
Diffstat (limited to 'llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp')
0 files changed, 0 insertions, 0 deletions