1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00
llvm-mirror/lib/TableGen
J-Y You c233f2a4f7 [TableGen] Fix anonymous record self-reference in foreach and multiclass
If we instantiate self-referenced anonymous records in foreach and
multiclass, the NAME value will point to incorrect record. It's because
anonymous name is resolved too early.

This patch adds AnonymousNameInit to represent an anonymous record name.
When instantiating an anonymous record, it will update the referred name.

Differential Revision: https://reviews.llvm.org/D95309
2021-02-01 10:59:07 -05:00
..
CMakeLists.txt
DetailedRecordsBackend.cpp [TableGen] [DetailedRecords] Print record name that is null string as "" 2021-01-27 10:41:46 -05:00
Error.cpp
JSONBackend.cpp [TableGen] Add field kind to the RecordVal class. 2021-01-07 09:31:27 -05:00
Main.cpp
Record.cpp [TableGen] Fix anonymous record self-reference in foreach and multiclass 2021-02-01 10:59:07 -05:00
SetTheory.cpp
StringMatcher.cpp
TableGenBackend.cpp
TableGenBackendSkeleton.cpp
TGLexer.cpp [TableGen] Add the assert statement, step 1 2021-01-08 09:47:51 -05:00
TGLexer.h [TableGen] Add the assert statement, step 1 2021-01-08 09:47:51 -05:00
TGParser.cpp [TableGen] Fix anonymous record self-reference in foreach and multiclass 2021-02-01 10:59:07 -05:00
TGParser.h [TableGen] Add the assert statement, step 1 2021-01-08 09:47:51 -05:00