| commit | 328e26d0aca59769d0c8cfb3f2e51fe25eac190e | [log] [tgz] |
|---|---|---|
| author | Dan Gohman <gohman@apple.com> | Mon Jun 30 20:25:31 2008 +0000 |
| committer | Dan Gohman <gohman@apple.com> | Mon Jun 30 20:25:31 2008 +0000 |
| tree | 41c32260b6f72d21824af649c8a804b7232470eb | |
| parent | 9a8d1d9e56ecdc052add3620b478253fda0cb615 [diff] |
Correct the allocation size for CCState's UsedRegs member, which only needs one bit for each register. UsedRegs is a SmallVector sized at 16, so this eliminates a heap allocation/free for every call and return processed by Legalize on most targets. llvm-svn: 52915