[PATCH] D43754: TableGen: Explicitly check whether a record has been resolved

Nicolai Hähnle via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 26 00:30:57 PST 2018


nhaehnle created this revision.
nhaehnle added reviewers: arsenm, craig.topper, tra, MartinO.
Herald added a subscriber: wdng.

There are various places where resolving and constant folds can
get stuck, especially around casts. We don't always signal an
error for those, because in many cases they can legitimately
occur without being an error in the "untaken branch" of an !if.

Change-Id: I3befc0e4234c8e6cc61190504702918c9f29ce5c


Repository:
  rL LLVM

https://reviews.llvm.org/D43754

Files:
  include/llvm/TableGen/Record.h
  lib/TableGen/Record.cpp
  lib/TableGen/TGParser.cpp
  test/TableGen/BitOffsetDecoder.td
  test/TableGen/BitsInitOverflow.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43754.135859.patch
Type: text/x-patch
Size: 8258 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180226/7461cd3f/attachment-0001.bin>


More information about the llvm-commits mailing list