HomePhabricator

[IR] Mark assume/annotation as InaccessibleMemOnly

Authored by nikic on Mar 20 2021, 10:11 AM.

Description

[IR] Mark assume/annotation as InaccessibleMemOnly

These intrinsics don't need to be marked as arbitrary writing,
it's sufficient to write inaccessible memory (aka "side effect")
to preserve control dependencies. This means less special-casing
in BasicAA. This is intended as an alternative to D98925.

Differential Revision: https://reviews.llvm.org/D99022

Details

Committed
nikicMar 22 2021, 2:01 PM
Differential Revision
D99022: [IR] Mark assume/annotation as InaccessibleMemOnly
Parents
rGb00209ed100c: [SCEV] Use logical and/or matcher
Branches
Unknown
Tags
Unknown