[Mlir-commits] [clang] [llvm] [mlir] [LLVM] Improve IR parsing and printing for target memory locations (PR #176968)
Antonio Frighetto
llvmlistbot at llvm.org
Tue Jan 27 03:18:12 PST 2026
================
@@ -2636,9 +2654,18 @@ std::optional<MemoryEffects> LLParser::parseMemoryAttr() {
}
Lex.Lex();
- if (Loc) {
+ if (!Locs.empty()) {
SeenLoc = true;
- ME = ME.getWithModRef(*Loc, *MR);
+ for (const llvm::IRMemLocation &Loc : Locs) {
----------------
antoniofrighetto wrote:
```suggestion
for (const IRMemLocation &Loc : Locs) {
```
https://github.com/llvm/llvm-project/pull/176968
More information about the Mlir-commits
mailing list