OSDN Git Service

pred_iterator got a lot slower since use-diet landed. This is a
authorChris Lattner <sabre@nondot.org>
Tue, 9 Dec 2008 06:27:07 +0000 (06:27 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 9 Dec 2008 06:27:07 +0000 (06:27 +0000)
commit312b9a17e6e2af826f95722cbb4e31afaa9f2933
treee31f044ae55718a7a45ab82e79d2367e0931ccd5
parentdb1b5bf5eb4b70ce67b5ae5a0fb77ce9ad922ed1
pred_iterator got a lot slower since use-diet landed.  This is a
really simple cache class for these queries.  Hopefully this can
be removed if pred_iterator speeds back up.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60742 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/PredIteratorCache.h [new file with mode: 0644]