[PATCH] D86000: Add an unsigned shift base sanitizer
JF Bastien via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 27 10:38:36 PDT 2020
jfb added inline comments.
================
Comment at: llvm/docs/ReleaseNotes.rst:153
+
+ `(lhs & ~(~1U << ((sizeof(lhs)*CHAR_BIT) - rhs))) << rhs`
+
----------------
lebedev.ri wrote:
> Surely not `~1U`.
Indeed, fixed.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86000/new/
https://reviews.llvm.org/D86000
More information about the llvm-commits
mailing list