[PATCH] D136284: SROA should freeze undefs for loads with no prior stores

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 19 12:42:11 PDT 2022


nikic requested changes to this revision.
nikic added a reviewer: nlopes.
nikic added a comment.
This revision now requires changes to proceed.

The current behavior here is intentional -- in fact, LLVM will move towards returning poison for loads from uninitialized memory in the future (though precisely how this will happen is still uncertain, see https://discourse.llvm.org/t/rfc-making-bit-field-codegen-poison-compatible/63250 for some recent discussion on the topic).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D136284



More information about the llvm-commits mailing list