In a "seeing the forest through the trees" kinda situation, I realized that a
authorChris Lattner <sabre@nondot.org>
Thu, 5 Feb 2004 17:20:00 +0000 (17:20 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 5 Feb 2004 17:20:00 +0000 (17:20 +0000)
commit3b303d91d72cd37c9c29119ae8dc1de990a373d1
tree8be1275c9d228c295f81cd87ace71b0b93f1affa
parent57ef9a2392ef8820de5987de8b39e9dc52412cf9
In a "seeing the forest through the trees" kinda situation, I realized that a
complete rewrite of load-vn will make it a bit faster.  This changes speeds up
the gcse pass (which uses load-vn) from 25.45s to 0.42s on the testcase in
PR209.

I've also verified that this gives the exact same results as the old one.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11132 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/LoadValueNumbering.cpp