Add a simple xform to simplify array accesses with casts in the way.
authorChris Lattner <sabre@nondot.org>
Tue, 13 Sep 2005 18:36:04 +0000 (18:36 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 13 Sep 2005 18:36:04 +0000 (18:36 +0000)
commit7835cdde408e4bcc46ffdc037536d27b433346d6
tree33932a3fb68cf4c733556c4a04ef8918b4146b8c
parent396b2baf3ca0ee46e696713d34943035206d7a46
Add a simple xform to simplify array accesses with casts in the way.
This is useful for 178.galgel where resolution of dope vectors (by the
optimizer) causes the scales to become apparent.

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