commit | 28531c71cd142f623d56a7ea13df2e014eebff54 | [log] [tgz] |
---|---|---|
author | Reid Spencer <rspencer@reidspencer.com> | Mon Aug 16 07:46:33 2004 +0000 |
committer | Reid Spencer <rspencer@reidspencer.com> | Mon Aug 16 07:46:33 2004 +0000 |
tree | 6ee3aaa75133c190ec8cac98f6e294ab8d3d4a0d | |
parent | d771c5340aa281c35d22e207b6321b52246639a2 [diff] |
Fix PR422. Ouch! Changes in the lazy initialization code caused each incorporated function to reprocess the entire function on every lookup of a value's slot number. This caused a horrible slowdown in all functions. This fix made llvm-dis go from "longer than I care to wait" (minutes) on a large test case to 0.53 seconds. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15818 91177308-0d34-0410-b5e6-96231b3b80d8