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 681d59f commit 2b418c3Copy full SHA for 2b418c3
llvm/lib/Bitcode/Reader/BitcodeReader.cpp
@@ -6370,7 +6370,7 @@ Error BitcodeReader::parseFunctionBody(Function *F) {
6370
cast<CallInst>(I)->setCallingConv(
6371
static_cast<CallingConv::ID>((0x7ff & CCInfo) >> bitc::CALL_CCONV));
6372
CallInst::TailCallKind TCK = CallInst::TCK_None;
6373
- if (CCInfo & 1 << bitc::CALL_TAIL)
+ if (CCInfo & (1 << bitc::CALL_TAIL))
6374
TCK = CallInst::TCK_Tail;
6375
if (CCInfo & (1 << bitc::CALL_MUSTTAIL))
6376
TCK = CallInst::TCK_MustTail;
0 commit comments