aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/DataStructure/DataStructureAA.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-01-24 02:08:34 +0000
committerChris Lattner <sabre@nondot.org>2005-01-24 02:08:34 +0000
commitd23a298f28209e1faa47c01482d5815ebb95d6d0 (patch)
tree5af458f1bbecae046a5825fa69191df8616e898c /lib/Analysis/DataStructure/DataStructureAA.cpp
parentbb4dca3286104375bc88cfde6fbc6cbb07940adf (diff)
This giant patch speeds up Type::isSized(). Before, this would have to search
large nested types over and over again to determine if they are sized or not. Now, isSized() is able to make snap decisions about all concrete types, which are a common occurance (and includes all primitives). On 177.mesa, this speeds up DSE from 39.5s -> 21.3s and GCSE from 13.2s -> 11.3s, reducing gccas time from 80s -> 61s (this is a debug build). DSE and GCSE are still too slow on this testcase, but this is a simple improvement. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19800 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/DataStructure/DataStructureAA.cpp')
0 files changed, 0 insertions, 0 deletions