Switch a worklist in CodeGenPrepare to SmallVector and increase the inline
authorCameron Zwarich <zwarich@apple.com>
Mon, 3 Jan 2011 06:33:01 +0000 (06:33 +0000)
committerCameron Zwarich <zwarich@apple.com>
Mon, 3 Jan 2011 06:33:01 +0000 (06:33 +0000)
commit7cb4fa20b5534decf527a6bfcc74bd79ea11cbb1
tree4371e4b1c48dea125f7f169b54991d88052c21fb
parentdb5f5e64fe2a7266fe5ed126fa2e92e5c0f71833
Switch a worklist in CodeGenPrepare to SmallVector and increase the inline
capacity on the Visited SmallPtrSet. On 403.gcc, this is about a 4.5% speedup of
CodeGenPrepare time (which itself is 10% of time spent in the backend).

This is progress towards PR8889.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122741 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/CodeGenPrepare.cpp