[Mlir-commits] [mlir] [mlir][LLVM] Add !invariant.load metadata support to llvm.load (PR #76754)
Christian Ulmann
llvmlistbot at llvm.org
Tue Jan 2 23:22:17 PST 2024
================
@@ -225,6 +225,12 @@ class LLVM_MemOpPatterns {
inst->setMetadata(llvm::LLVMContext::MD_nontemporal, metadata);
}
}];
+ code setInvariantLoadMetedataCode = [{
----------------
Dinistro wrote:
Are there plans to add this to more operations? If not, then making this part of the `MemOpPatterns` seems a bit of an overkill.
https://github.com/llvm/llvm-project/pull/76754
More information about the Mlir-commits
mailing list