[PATCH] D148129: [GVN] Adjust metadata for coerced load CSE

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 13 02:04:53 PDT 2023


nikic added a comment.

In D148129#4264235 <https://reviews.llvm.org/D148129#4264235>, @StephenFan wrote:

> Is the behavior of violating !dereferencable or !dereferencable_or_null also IUB? If so, these metadata can also be retained.

I think so, but this is currently not spelled out in LangRef and combineMetadata() doesn't treat it as such. I've put up https://reviews.llvm.org/D148202 to clarify this.


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

https://reviews.llvm.org/D148129



More information about the llvm-commits mailing list