* Implement minor performance optimization for the getelementptr case
authorChris Lattner <sabre@nondot.org>
Mon, 12 Jan 2004 04:29:41 +0000 (04:29 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 12 Jan 2004 04:29:41 +0000 (04:29 +0000)
commitc6a4d6a066ea076409cceef0b5ca922eaf0aaddb
tree8fa2045a52a1cee0f4daae580a392f2726090d63
parentdebcbd0a4679a58f6783ffa226adb1a92e79fdf3
* Implement minor performance optimization for the getelementptr case
* Implement SCCP of load instructions, implementing Transforms/SCCP/loadtest.ll
  This allows us to fold expressions like "foo"[2], even if the pointer is only
  a conditional constant.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10767 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/SCCP.cpp