llvm-mirror/lib/Transforms
Chris Lattner 4a7bce50b8 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
2009-12-22 19:33:28 +00:00
..
Hello Fix a bunch of little errors that Clang complains about when its being pedantic 2009-12-19 07:05:23 +00:00
Instrumentation Cheap, mostly strict, stable sorting. 2009-12-02 15:57:15 +00:00
IPO Teach GlobalOpt to delete aliases with internal linkage (after 2009-12-08 10:10:20 +00:00
Scalar Fix the Convert to scalar to not insert dead loads in the store case. The 2009-12-22 19:33:28 +00:00
Utils improve indentation avoid a pointless conversion from weakvh to trackingvh, 2009-12-21 22:43:03 +00:00
Makefile The attached patches attempt to fix cross builds. For example, if you 2009-08-18 00:40:33 +00:00