[PATCH] D40263: [TableGen] Improve error reporting

Evandro Menezes via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 20 12:26:44 PST 2017


evandro created this revision.

When searching for a resource unit, use the reference location instead of the definition location in case of an error.


Repository:
  rL LLVM

https://reviews.llvm.org/D40263

Files:
  llvm/utils/TableGen/CodeGenSchedule.cpp
  llvm/utils/TableGen/CodeGenSchedule.h
  llvm/utils/TableGen/SubtargetEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40263.123632.patch
Type: text/x-patch
Size: 5416 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171120/08a7e8c7/attachment.bin>


More information about the llvm-commits mailing list