[PATCH] D83588: [TableGen][CGS] Print better errors on overlapping InstRW

Evandro Menezes via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 10 14:26:36 PDT 2020


evandro added inline comments.


================
Comment at: llvm/utils/TableGen/CodeGenSchedule.cpp:1093
                    "\".");
+              PrintFatalError(RWD->getLoc(), "Previous match was here.");
             }
----------------
Or rather, continuing from the previous line:


```
"\"" +
" at " + RWD->getLoc());
```


================
Comment at: llvm/utils/TableGen/CodeGenSchedule.cpp:1129
                "\".");
+          PrintFatalError(OldRWDef->getLoc(), "Previous match was here.");
         }
----------------
Ditto.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D83588/new/

https://reviews.llvm.org/D83588





More information about the llvm-commits mailing list