Allow GVN to eliminate read-only function calls when it can detect that they are...
authorOwen Anderson <resistor@mac.com>
Mon, 26 Nov 2007 02:26:36 +0000 (02:26 +0000)
committerOwen Anderson <resistor@mac.com>
Mon, 26 Nov 2007 02:26:36 +0000 (02:26 +0000)
commit00a6d1448d27b5140b911caf2eca9585abdae5c8
treed82b6247c7d85f350e2dae27128387261a2d1a32
parentfd94dd58ffef1be3597ef8cb64f3b1d476d7d5ec
Allow GVN to eliminate read-only function calls when it can detect that they are redundant.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44323 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/MemoryDependenceAnalysis.cpp
lib/Transforms/Scalar/GVN.cpp
test/Analysis/BasicAA/pure-const-dce.ll