int64_t HWAddressSanitizer::getAccessInfo(bool IsWrite,
unsigned AccessSizeIndex) {
- return (CompileKernel << HWASanAccessInfo::CompileKernelShift) +
- (HasMatchAllTag << HWASanAccessInfo::HasMatchAllShift) +
- (MatchAllTag << HWASanAccessInfo::MatchAllShift) +
- (Recover << HWASanAccessInfo::RecoverShift) +
- (IsWrite << HWASanAccessInfo::IsWriteShift) +
+ return (CompileKernel << HWASanAccessInfo::CompileKernelShift) |
+ (HasMatchAllTag << HWASanAccessInfo::HasMatchAllShift) |
+ (MatchAllTag << HWASanAccessInfo::MatchAllShift) |
+ (Recover << HWASanAccessInfo::RecoverShift) |
+ (IsWrite << HWASanAccessInfo::IsWriteShift) |
(AccessSizeIndex << HWASanAccessInfo::AccessSizeShift);
}