Fix 4366: store to null in non-default addr space should not be
authorChris Lattner <sabre@nondot.org>
Thu, 11 Jun 2009 17:54:56 +0000 (17:54 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 11 Jun 2009 17:54:56 +0000 (17:54 +0000)
commit3590abfda093eb5b5e4536727d2e4195400b7716
treedc0b86bf1e10543e076ac5b7fd931f2219641901
parent6396329d52e21674093b71eee3327c03ae3fbeec
Fix 4366: store to null in non-default addr space should not be
turned into unreachable.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73195 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp
test/Transforms/InstCombine/2009-06-11-StoreAddrSpace.ll [new file with mode: 0644]