OSDN Git Service

Make InstructionCombining::getBitCastOperand() recognize GEP instructions and
authorMatthijs Kooijman <matthijs@stdin.nl>
Mon, 13 Oct 2008 15:17:01 +0000 (15:17 +0000)
committerMatthijs Kooijman <matthijs@stdin.nl>
Mon, 13 Oct 2008 15:17:01 +0000 (15:17 +0000)
commit7e6d9b96ad2c63e3a503c74bed14783eacb8123d
treea59ba034332b6bed689040cdebab1dd73b646bfd
parente49d0bc946a3f658da0e82e207bc87f59a2aa587
Make InstructionCombining::getBitCastOperand() recognize GEP instructions and
constant expression with all zero indices as being the same as a bitcast.

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