don't delete the last store to an alloca if the store is volatile.
authorChris Lattner <sabre@nondot.org>
Tue, 29 Apr 2008 04:58:38 +0000 (04:58 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 29 Apr 2008 04:58:38 +0000 (04:58 +0000)
commitcea1fdd1748e06455940d3aa8a258ab65f232840
tree68a0f1888b2e0fffa856906ef57254e4291645c0
parent3fb2968f2febbcd8e05270270858b6f2afd4b342
don't delete the last store to an alloca if the store is volatile.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50390 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp
test/Transforms/InstCombine/2008-04-28-VolatileStore.ll [new file with mode: 0644]