[PATCH] D72396: [InstCombine] fold zext of masked bit set/clear

Krasimir Georgiev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 8 07:12:35 PST 2020


krasimir added a comment.

Internally, I can see that either (1) this causes the following code to miscompile, or (2) the code is UB:
https://github.com/grpc/grpc/blob/master/src/core/ext/transport/chttp2/transport/frame_settings.cc#L48
Note that in that code the two checks on lines 57 and 64 are related if that helps.

Working on providing a small reproducible test case.


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

https://reviews.llvm.org/D72396





More information about the llvm-commits mailing list