Convert more code to use Operator instead of explicitly handling both
authorDan Gohman <gohman@apple.com>
Fri, 17 Jul 2009 23:55:56 +0000 (23:55 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 17 Jul 2009 23:55:56 +0000 (23:55 +0000)
commit016de81177ec5c950f1668be4a48992bc1ee0d75
treed851a88d72bc9c18dd42143f0fdbef05a31bd405
parent5918304c4cd0354c995a610e790162cff0ba78ba
Convert more code to use Operator instead of explicitly handling both
ConstantExpr and Instruction. This involves duplicating some code
between GetElementPtrInst and GEPOperator, but it's not a lot.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76265 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Operator.h
lib/Transforms/Scalar/InstructionCombining.cpp
lib/VMCore/Value.cpp