OSDN Git Service

Avoid doing pointless work. Amazingly, this makes us go faster.
authorChris Lattner <sabre@nondot.org>
Mon, 6 Oct 2003 15:23:43 +0000 (15:23 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 6 Oct 2003 15:23:43 +0000 (15:23 +0000)
commit5f92e2b11f68624f9003e710f44e3bc324cbf89a
treee5d94cf5d4818c88a23f50a92090fd91cb5a379c
parentd5a310e4b3251410d4afd58ccea5ec7f0cb13d5f
Avoid doing pointless work.  Amazingly, this makes us go faster.

Running the inliner on 252.eon used to take 48.4763s, now it takes 14.4148s.

In release mode, it went from taking 25.8741s to taking 11.5712s.

This also fixes a FIXME.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8890 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/InlineFunction.cpp
lib/Transforms/Utils/ValueMapper.cpp