OSDN Git Service

Before doing expensive global analysis, check to make sure the pointer is
authorChris Lattner <sabre@nondot.org>
Sat, 29 Jan 2005 06:31:53 +0000 (06:31 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 29 Jan 2005 06:31:53 +0000 (06:31 +0000)
commit15774df4d3b3c4c5b944f7ebeff3febaabdfa7aa
treee1ab815706399ae6f4592884fda83a5c32a7deaa
parent8b80ecd5ca7b8648edfef44c57ef6d3895734ba5
Before doing expensive global analysis, check to make sure the pointer is
not invalidated on entry and on exit of the block.  This fixes some N^2
behavior in common cases, and speeds up gcc another 5% to 22.35s.

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