commit | 3b07386724f837336036b2058e90b1c315fcfdeb | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Mon Feb 09 03:19:29 2004 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Mon Feb 09 03:19:29 2004 +0000 |
tree | 424f8def1c9960920d993c7fec29904988f388df | |
parent | 2c37c18c6e9f5f2b898ac410da5306614a4db5c0 [diff] |
Instead of searching the entire type graph for a type to determine if it contains the type we are looking for, just search the immediately used types. We can only do this because we keep the "current" type in the nesting level as we decrement upreferences. This change speeds up the testcase in PR224 from 50.4s to 22.08s, not too shabby. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11221 91177308-0d34-0410-b5e6-96231b3b80d8