[all-commits] [llvm/llvm-project] eddb72: [NFC] use bitwise or instead of addition
Florian Mayer via All-commits
all-commits at lists.llvm.org
Mon Dec 19 15:35:08 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: eddb7280462ca316ba8d4d9fa6f175e8e2e65b72
https://github.com/llvm/llvm-project/commit/eddb7280462ca316ba8d4d9fa6f175e8e2e65b72
Author: Florian Mayer <fmayer at google.com>
Date: 2022-12-19 (Mon, 19 Dec 2022)
Changed paths:
M llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list