diff options
author | Chris Lattner <sabre@nondot.org> | 2006-01-22 23:10:26 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-01-22 23:10:26 +0000 |
commit | 33081b4648d768f1f1dfc58f8e8b84fb0abf0992 (patch) | |
tree | 3280f5595ffee9be5329190e9dd44bb3d67e9872 /llvm/lib/CodeGen/RegAllocSimple.cpp | |
parent | fdb379d52b8480d2e2b09282519d9fbe6c159e79 (diff) | |
download | bcm5719-llvm-33081b4648d768f1f1dfc58f8e8b84fb0abf0992.tar.gz bcm5719-llvm-33081b4648d768f1f1dfc58f8e8b84fb0abf0992.zip |
Make this more efficient in the following ways:
1. Do not statically construct a map when the program starts up, this
is expensive and cannot be optimized. Instead, create a list.
2. Do not insert entries for all function in the module into a hashmap
that lives the full life of the compiler.
llvm-svn: 25512
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocSimple.cpp')
0 files changed, 0 insertions, 0 deletions