Instcombine cast (getelementptr Ptr, 0, 0, 0) to ... into: cast Ptr to ...
authorChris Lattner <sabre@nondot.org>
Sat, 21 Jun 2003 23:12:02 +0000 (23:12 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 21 Jun 2003 23:12:02 +0000 (23:12 +0000)
commit797249bc136378d8af429b136a6c35242bd71623
treeb3fd67061c5f0a55a5b5ab9266183f96e2e33c7e
parent1474b47600a8c89c1f62f9e263a0f462628259e0
Instcombine cast (getelementptr Ptr, 0, 0, 0) to ... into: cast Ptr to ...
This fixes type safety problems in a variety of benchmarks that were confusing
DSA.

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