[PATCH] D104648: [Mem2Reg] Use poison instead of undef for read of uninitialized memory

Juneyoung Lee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 23 09:11:26 PDT 2021


aqjune added a comment.

Or, can we temporarily mark an alloca with `!has_bitfield` if it had bitfields in C & make mem2reg use poison only when uninitialized memory is read, for a while?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D104648



More information about the llvm-commits mailing list