[PATCH] D66046: Add new tautological compare warning for bitwise-or with a non-zero constant

Richard Trieu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 10 20:59:51 PDT 2019


rtrieu added a comment.

In D66046#1696785 <https://reviews.llvm.org/D66046#1696785>, @xbolva00 wrote:

> Could this patch solve https://bugs.llvm.org/show_bug.cgi?id=43573?


No, but I left some notes on the bug on why negative values are hard and where to fix it.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D66046/new/

https://reviews.llvm.org/D66046





More information about the cfe-commits mailing list