OSDN Git Service

Fix SimplifyLibcalls and ValueTracking to check mayBeOverridden
authorDan Gohman <gohman@apple.com>
Wed, 19 Aug 2009 00:11:12 +0000 (00:11 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 19 Aug 2009 00:11:12 +0000 (00:11 +0000)
commit107f41fad5f8df734c72cf39a016a7ea0d874388
tree4eb7a844e364bb61f523a4d8cdf78930a3f047c4
parent2c9489d6e96d99f77b6c31919805b5e61954deb2
Fix SimplifyLibcalls and ValueTracking to check mayBeOverridden
before performing optimizations based on constant string values.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79384 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ValueTracking.cpp
lib/Transforms/Scalar/SimplifyLibCalls.cpp
test/Transforms/SimplifyLibCalls/weak-symbols.ll [new file with mode: 0644]