Upgrade BasicAliasAnalysis::getModRefBehavior to not call Value::getName,
authorChris Lattner <sabre@nondot.org>
Sun, 5 Aug 2007 07:50:06 +0000 (07:50 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 5 Aug 2007 07:50:06 +0000 (07:50 +0000)
commit8c5287086c02cff4a905db2e9c7735a82ed9137f
treee8e079c0bb32d10f136cc3af5ac72e1cd213617e
parent42e4bdf2577946380ce1529d5716e48b33d4186d
Upgrade BasicAliasAnalysis::getModRefBehavior to not call Value::getName,
which dynamically allocates the string result.  This speeds up dse on the
testcase from PR1432 from 0.3781s to 0.1804s (2.1x).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40838 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/BasicAliasAnalysis.cpp