Fix DSE to not eliminate volatile loads with no uses.
authorDan Gohman <gohman@apple.com>
Mon, 28 Apr 2008 19:51:27 +0000 (19:51 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 28 Apr 2008 19:51:27 +0000 (19:51 +0000)
commit00acf97feb2cba053a07505dfad9116ad09aae7a
tree76709b13e649e24eebeeff8ecfc6220b467ca3bf
parentbeb5be03320f9bbe6a4a92b0c7e1e0ebf3ef865d
Fix DSE to not eliminate volatile loads with no uses.

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