IPSCCP is missing stuff.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84725 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2009-10-21 01:10:37 +00:00
parent ce1379f72c
commit 7d26443bb7

View File

@ -1644,3 +1644,10 @@ Instcombine should be able to optimize away the loads (and thus the globals).
See also PR4973 See also PR4973
//===---------------------------------------------------------------------===// //===---------------------------------------------------------------------===//
IPSCCP is propagating elements of first class aggregates, but is not propagating
the entire aggregate itself. This leads it to miss opportunities, for example
in test/Transforms/SCCP/ipsccp-basic.ll:test5b.
//===---------------------------------------------------------------------===//