diff options
author | Chris Lattner <sabre@nondot.org> | 2008-11-29 03:22:12 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-11-29 03:22:12 +0000 |
commit | 7f52422a3c821c1deb7171808ffcf83386970791 (patch) | |
tree | 155c25a6589b25abfc2e99b8f75dab2f95ad789c /lib/CodeGen/MachineSink.cpp | |
parent | 4c724006256032e827177afeae04ea62436796e7 (diff) |
Now that DepType is private, we can start cleaning up some of its uses:
Document the Dirty value more precisely, use it for the uninitialized
DepResultTy value. Change reverse mappings to be from an instruction*
instead of DepResultTy, and stop tracking other forms. This makes it more
clear that we only care about the instruction cases.
Eliminate a DepResultTy,bool pair by using Dirty in the local case as well,
shrinking the map and simplifying the code.
This speeds up GVN by ~3% on 403.gcc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60232 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineSink.cpp')
0 files changed, 0 insertions, 0 deletions