For PR1043:
authorReid Spencer <rspencer@reidspencer.com>
Fri, 19 Jan 2007 21:13:56 +0000 (21:13 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Fri, 19 Jan 2007 21:13:56 +0000 (21:13 +0000)
commitc10305743c313558405079452138f03124e87581
tree247e4b54c39472e2f210f8f57cef3ab763ab6b25
parent011cf09ddd3cf759de55ff1f95ef37a3f04c70c9
For PR1043:
This is the final patch for this PR. It implements some minor cleanup
in the use of IntegerType, to wit:
1. Type::getIntegerTypeMask -> IntegerType::getBitMask
2. Type::Int*Ty changed to IntegerType* from Type*
3. ConstantInt::getType() returns IntegerType* now, not Type*

This also fixes PR1120.

Patch by Sheng Zhou.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33370 91177308-0d34-0410-b5e6-96231b3b80d8
19 files changed:
include/llvm/Constants.h
include/llvm/DerivedTypes.h
include/llvm/Type.h
lib/Analysis/ConstantRange.cpp
lib/Analysis/ScalarEvolution.cpp
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
lib/ExecutionEngine/ExecutionEngine.cpp
lib/Support/ConstantRange.cpp
lib/Target/Alpha/AlphaISelDAGToDAG.cpp
lib/Transforms/IPO/IndMemRemoval.cpp
lib/Transforms/Scalar/CorrelatedExprs.cpp
lib/Transforms/Scalar/InstructionCombining.cpp
lib/Transforms/Scalar/LoopUnswitch.cpp
lib/Transforms/Scalar/ScalarReplAggregates.cpp
lib/Transforms/Utils/SimplifyCFG.cpp
lib/VMCore/ConstantFold.cpp
lib/VMCore/Constants.cpp
lib/VMCore/Type.cpp
lib/VMCore/ValueTypes.cpp