diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2006-12-31 06:02:26 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2006-12-31 06:02:26 +0000 |
commit | eb14edc64666d2f759cf0ebf98e0b969fc715fff (patch) | |
tree | 98d5f88dbe248358b281aea2f48cd060a21f76d4 /llvm/tools/bugpoint/ExtractFunction.cpp | |
parent | deb4d5ab46cff6109a2f296bb9474e964da2ef46 (diff) | |
download | bcm5719-llvm-eb14edc64666d2f759cf0ebf98e0b969fc715fff.tar.gz bcm5719-llvm-eb14edc64666d2f759cf0ebf98e0b969fc715fff.zip |
For PR950:
Convert signed integer types to signless.
llvm-svn: 32790
Diffstat (limited to 'llvm/tools/bugpoint/ExtractFunction.cpp')
-rw-r--r-- | llvm/tools/bugpoint/ExtractFunction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/bugpoint/ExtractFunction.cpp b/llvm/tools/bugpoint/ExtractFunction.cpp index 43e68404cb2..34fa727f0e7 100644 --- a/llvm/tools/bugpoint/ExtractFunction.cpp +++ b/llvm/tools/bugpoint/ExtractFunction.cpp @@ -180,7 +180,7 @@ static Constant *GetTorInit(std::vector<std::pair<Function*, int> > &TorList) { std::vector<Constant*> ArrayElts; for (unsigned i = 0, e = TorList.size(); i != e; ++i) { std::vector<Constant*> Elts; - Elts.push_back(ConstantInt::get(Type::IntTy, TorList[i].second)); + Elts.push_back(ConstantInt::get(Type::Int32Ty, TorList[i].second)); Elts.push_back(TorList[i].first); ArrayElts.push_back(ConstantStruct::get(Elts)); } |