[PATCH] D40263: [TableGen] Improve error reporting
Evandro Menezes via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 21 09:14:15 PST 2017
evandro added a comment.
Before this patch, a typical output would be like:
.../llvm/lib/Target/AArch64/AArch64SchedA57.td:49:3: error: No ProcessorResources associated with A57UnitV
def A57UnitV : ProcResGroup<[A57UnitX, A57UnitW]>; // Type V micro-ops
^
Whereas after this patch, the offending line is output instead:
.../llvm/lib/Target/AArch64/AArch64SchedM1.td:76:1: error: No ProcessorResources associated with A57UnitV
def M1WriteA1 : SchedWriteRes<[A57UnitV]> { let Latency = 1; }
^
The latter is obviously clear what the issue is, unlike the former.
Repository:
rL LLVM
https://reviews.llvm.org/D40263
More information about the llvm-commits
mailing list