Make InstCombineStoreToCast handle aggregates more aggressively,
authorChris Lattner <sabre@nondot.org>
Sat, 24 Jan 2009 01:00:13 +0000 (01:00 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 24 Jan 2009 01:00:13 +0000 (01:00 +0000)
commit3914f721cc95bb1e8534101a6bb62dc484ef7520
treeb978a3ea668bb91f87becf40602c5a2686dddc78
parent0a26891ce9b6de840c087d73c04324729c3d1a8b
Make InstCombineStoreToCast handle aggregates more aggressively,
handling the case in Transforms/InstCombine/cast-store-gep.ll, which
is a heavily reduced testcase from Clang on x86-64.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62904 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp
test/Transforms/InstCombine/cast-store-gep.ll [new file with mode: 0644]