[PATCH] D148456: [SROA] Unconditionally load is unsafe with nonnull and noundef metadata.

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 16 03:05:02 PDT 2023


nikic added a comment.

Well, actually you are looking for dropUBImplyingAttrsAndMetadata() from D146629 <https://reviews.llvm.org/D146629>, but for now you can just drop all unknown metadata, and we can add the UB implying distinction later.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D148456



More information about the llvm-commits mailing list