Alias analysis would like to know that
invariant.group.barrier returns pointer that mustalias,
but this can't imply that we can replace one pointer with another
Details
Diff Detail
- Build Status
Buildable 5456 Build 5456: arc lint + arc unit
Event Timeline
Minor comments inline.
docs/AliasAnalysis.rst | ||
---|---|---|
139 | A better wording would be "A `MustAlias` response does not imply that the pointers compare equal." | |
docs/LangRef.rst | ||
5121 | This is minor, but I'd s/Because/Since/ Even better, I'd put the (IMO more important) warning before its justification: The invariant.group metadata must be dropped when replacing one pointer by another based on aliasing information. This is because invariant.group is tied to the SSA value of the pointer operand. | |
5129 | Not sure what this line adds -- can you give an example here as well? |
Thanks Sanjoy!
docs/LangRef.rst | ||
---|---|---|
5129 | I guess I will just delete that because it doesn't add any new info |
A better wording would be "A `MustAlias` response does not imply that the pointers compare equal."