Handle extremely trivial cases extremely efficiently. This speeds up
authorChris Lattner <sabre@nondot.org>
Tue, 3 Feb 2004 22:00:33 +0000 (22:00 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 3 Feb 2004 22:00:33 +0000 (22:00 +0000)
commit7fecc2e5e28fa223b16280a5e434d7d0e03e9c52
tree52fcfc9acd138d0a792acff844cd565c50dd5bb7
parent9f08a92e6cbe18446eb36e2dc0a41b44910e6621
Handle extremely trivial cases extremely efficiently.  This speeds up
SRoA/mem2reg from 41.2s to 27.5s on the testcase in PR209.

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