[all-commits] [llvm/llvm-project] be5065: [TableGen] Resolve concrete but not complete field...
Daniel Sanders via All-commits
all-commits at lists.llvm.org
Tue Apr 13 15:15:37 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: be50657c6ac534215b2cef562e2a29197259ec85
https://github.com/llvm/llvm-project/commit/be50657c6ac534215b2cef562e2a29197259ec85
Author: Daniel Sanders <daniel_l_sanders at apple.com>
Date: 2021-04-13 (Tue, 13 Apr 2021)
Changed paths:
M llvm/include/llvm/TableGen/Record.h
M llvm/lib/TableGen/Record.cpp
M llvm/test/TableGen/ListSlices.td
M llvm/test/TableGen/field-access-initializers.td
Log Message:
-----------
[TableGen] Resolve concrete but not complete field access initializers
This fixes the resolution of Rec10.Zero in ListSlices.td.
As part of this, correct the definition of complete for ListInit such that
it's complete iff all the elements in the list are complete rather than
always being complete regardless of the elements. This is the reason
Rec10.TwoFive from ListSlices.td previously resolved despite being
incomplete like Rec10.Zero was
Depends on D100247
Reviewed By: Paul-C-Anagnostopoulos
Differential Revision: https://reviews.llvm.org/D100253
More information about the All-commits
mailing list