aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorJon Roelofs <jonathan_roelofs@apple.com>2023-07-28 10:07:34 -0700
committerJon Roelofs <jonathan_roelofs@apple.com>2023-07-28 10:07:52 -0700
commit2b418c3c00ec709b854752f15e4c5be2056ab05d (patch)
tree794328b6c7b09ae8737ef6684d3a2fb67ac00296 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent681d59f9ed092f4d6329ab4685c8793641b86181 (diff)
downloadllvm-2b418c3c00ec709b854752f15e4c5be2056ab05d.zip
llvm-2b418c3c00ec709b854752f15e4c5be2056ab05d.tar.gz
llvm-2b418c3c00ec709b854752f15e4c5be2056ab05d.tar.bz2
[BitcodeReader] Add missing () to disambiguate precedence. NFC
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
-rw-r--r--llvm/lib/Bitcode/Reader/BitcodeReader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
index 3797a44..ab08b9b 100644
--- a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
+++ b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
@@ -6370,7 +6370,7 @@ Error BitcodeReader::parseFunctionBody(Function *F) {
cast<CallInst>(I)->setCallingConv(
static_cast<CallingConv::ID>((0x7ff & CCInfo) >> bitc::CALL_CCONV));
CallInst::TailCallKind TCK = CallInst::TCK_None;
- if (CCInfo & 1 << bitc::CALL_TAIL)
+ if (CCInfo & (1 << bitc::CALL_TAIL))
TCK = CallInst::TCK_Tail;
if (CCInfo & (1 << bitc::CALL_MUSTTAIL))
TCK = CallInst::TCK_MustTail;