Unverified Commit 25d94240 authored by Tobias Gysi's avatar Tobias Gysi Committed by GitHub
Browse files

[mlir][llvm] Add invariant intrinsics (#75354)

This commit implements the LLVM IR invariant intrinsics in LLVM dialect.
These intrinsics can be used to mark a program regions in which the
contents of a specific memory object will not change.

The LLVM dialect implementation also implements the
PromotableOpInterface to ensure Mem2Reg & SROA are able to promote
pointers that are marked using the invariant intrinsics.
parent 47615ddc
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment