We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd8c063 commit 53ce850Copy full SHA for 53ce850
llvm/lib/Bitcode/Reader/BitcodeReader.cpp
@@ -3302,7 +3302,7 @@ Error BitcodeReader::parseConstants() {
3302
case bitc::CST_CODE_INTEGER: // INTEGER: [intval]
3303
if (!CurTy->isIntOrIntVectorTy() || Record.empty())
3304
return error("Invalid integer const record");
3305
- V = ConstantInt::get(CurTy, decodeSignRotatedValue(Record[0]));
+ V = ConstantInt::getSigned(CurTy, decodeSignRotatedValue(Record[0]));
3306
break;
3307
case bitc::CST_CODE_WIDE_INTEGER: {// WIDE_INTEGER: [n x intval]
3308
0 commit comments