Fix a DAGCombiner optimization to respect volatile qualification.
authorDan Gohman <gohman@apple.com>
Mon, 31 Mar 2008 20:32:52 +0000 (20:32 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 31 Mar 2008 20:32:52 +0000 (20:32 +0000)
commitb061c4bc44caf62a16adad6047cda60785c2d0a4
treed9b9092680f8b93eb8642454450be69d167722fe
parent56a7c88cc532e8a72a8c3c303559500cd24d438b
Fix a DAGCombiner optimization to respect volatile qualification.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48994 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/X86/pr2182.ll [new file with mode: 0644]