diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-01-19 21:13:56 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-01-19 21:13:56 +0000 |
commit | a94d394ad2ae63071ae1fd203ea28f50066a5879 (patch) | |
tree | ac27c27212b5f7fefcab4a0e19f9053c8ce7a6c8 /llvm/lib/Transforms/Utils/SimplifyCFG.cpp | |
parent | eaedf70eea55bda4689f5ceaa73fed2e95143173 (diff) | |
download | bcm5719-llvm-a94d394ad2ae63071ae1fd203ea28f50066a5879.tar.gz bcm5719-llvm-a94d394ad2ae63071ae1fd203ea28f50066a5879.zip |
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.
llvm-svn: 33370
Diffstat (limited to 'llvm/lib/Transforms/Utils/SimplifyCFG.cpp')
-rw-r--r-- | llvm/lib/Transforms/Utils/SimplifyCFG.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/Utils/SimplifyCFG.cpp b/llvm/lib/Transforms/Utils/SimplifyCFG.cpp index 25bc16866f3..221a799f883 100644 --- a/llvm/lib/Transforms/Utils/SimplifyCFG.cpp +++ b/llvm/lib/Transforms/Utils/SimplifyCFG.cpp @@ -16,6 +16,7 @@ #include "llvm/Constants.h" #include "llvm/Instructions.h" #include "llvm/Type.h" +#include "llvm/DerivedTypes.h" #include "llvm/Support/CFG.h" #include "llvm/Support/Debug.h" #include "llvm/Transforms/Utils/BasicBlockUtils.h" |