[llvm-commits] CVS: llvm/lib/Transforms/Utils/SimplifyCFG.cpp

Reid Spencer reid at x10sys.com
Fri Jan 19 13:14:33 PST 2007



Changes in directory llvm/lib/Transforms/Utils:

SimplifyCFG.cpp updated: 1.113 -> 1.114
---
Log message:

For PR1043: http://llvm.org/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: http://llvm.org/PR1120 .

Patch by Sheng Zhou.



---
Diffs of the changes:  (+1 -0)

 SimplifyCFG.cpp |    1 +
 1 files changed, 1 insertion(+)


Index: llvm/lib/Transforms/Utils/SimplifyCFG.cpp
diff -u llvm/lib/Transforms/Utils/SimplifyCFG.cpp:1.113 llvm/lib/Transforms/Utils/SimplifyCFG.cpp:1.114
--- llvm/lib/Transforms/Utils/SimplifyCFG.cpp:1.113	Sun Jan 14 20:27:26 2007
+++ llvm/lib/Transforms/Utils/SimplifyCFG.cpp	Fri Jan 19 15:13:56 2007
@@ -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"






More information about the llvm-commits mailing list