Fix SCCP's handling of struct value loads and stores. SCCP doesn't
authorDan Gohman <gohman@apple.com>
Wed, 13 Aug 2008 21:22:48 +0000 (21:22 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 13 Aug 2008 21:22:48 +0000 (21:22 +0000)
commit2edeb63eced945bfa2af7d5c6a6bb0fe3503a070
treee6e521e7d2eb32531c718bc8b244c9dbd49b8965
parent38db6ccb474f22e6cf842331416f80e092f36761
Fix SCCP's handling of struct value loads and stores. SCCP doesn't
track individual leaf values in such cases, so it needs to treat
struct values as normal values in this case.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54760 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/SCCP.cpp
test/Transforms/SCCP/empty-struct.ll [new file with mode: 0644]