[NFC] use bitwise or instead of addition
authorFlorian Mayer <fmayer@google.com>
Mon, 19 Dec 2022 21:24:34 +0000 (13:24 -0800)
committerFlorian Mayer <fmayer@google.com>
Mon, 19 Dec 2022 23:34:31 +0000 (15:34 -0800)
commiteddb7280462ca316ba8d4d9fa6f175e8e2e65b72
tree7ba3ef2362f23302d4614a7f9af7d6b48ae44201
parentf1dcb9c36fe46c97a8f22c8b2544fb25d2e4cb61
[NFC] use bitwise or instead of addition

as the bits are all distinct, these two operations have the same result,
but the bitwise operation is more explicit about what's happening.

Reviewed By: hctim

Differential Revision: https://reviews.llvm.org/D140346
llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp