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/CodeGen | |
| 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/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp index fee85a13c68..d83dcc4d50b 100644 --- a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp @@ -21,6 +21,7 @@ #include "llvm/Target/TargetOptions.h" #include "llvm/CallingConv.h" #include "llvm/Constants.h" +#include "llvm/DerivedTypes.h" #include "llvm/Support/MathExtras.h" #include "llvm/Support/CommandLine.h" #include "llvm/Support/Compiler.h" |

