[Mlir-commits] [clang] [llvm] [mlir] [LLVM] Improve IR parsing and printing for target memory locations (PR #176968)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Wed Jan 28 05:49:52 PST 2026
================
@@ -2568,20 +2568,37 @@ bool LLParser::parseAllocKind(AllocFnKind &Kind) {
return false;
}
-static std::optional<MemoryEffects::Location> keywordToLoc(lltok::Kind Tok) {
+static ArrayRef<IRMemLocation> keywordToLoc(lltok::Kind Tok) {
+ using Loc = IRMemLocation;
+
+ static constexpr auto ArgMem[] = {Loc::ArgMem};
----------------
CarolineConcatto wrote:
Sorry, I updated last night and did not manage to check if all the changes were correct.
I think now it is fine.
https://github.com/llvm/llvm-project/pull/176968
More information about the Mlir-commits
mailing list