[PATCH] D84860: [LangRef] Add uniqueptr attribute.

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 29 09:30:29 PDT 2020


jdoerfert added subscribers: jeroen.dobbelaere, hfinkel.
jdoerfert added a comment.

As discussed on IRC, I think `noalias` is actually what you want. Storing a pointer and loading it does *not* break the "based on" relationship (https://llvm.org/docs/LangRef.html#pointeraliasing). We might want to clarify the rules though.

@hfinkel @jeroen.dobbelaere ^ WDYT?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D84860



More information about the llvm-commits mailing list