This testcase is actually only partially redundant, and requires

the FIXME I added yesterday to be implemented.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90008 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2009-11-27 16:53:57 +00:00
parent 8976e5950f
commit 6d94926a52

View File

@ -1175,7 +1175,7 @@ we don't sink the store. We need partially dead store sinking.
//===---------------------------------------------------------------------===//
[PHI TRANSLATE GEPs]
[LOAD PRE with NON-AVAILABLE ADDRESS]
GCC PR37166: Sinking of loads prevents SROA'ing the "g" struct on the stack
leading to excess stack traffic. This could be handled by GVN with some crazy
@ -1192,7 +1192,7 @@ bb3: ; preds = %bb1, %bb2, %bb
%10 = getelementptr %struct.f* %c_addr.0, i32 0, i32 0
%11 = load i32* %10, align 4
%11 is fully redundant, an in BB2 it should have the value %8.
%11 is partially redundant, an in BB2 it should have the value %8.
GCC PR33344 is a similar case.