aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorHaojian Wu <hokein.wu@gmail.com>2022-03-23 11:38:49 +0100
committerHaojian Wu <hokein.wu@gmail.com>2022-03-24 14:30:12 +0100
commitf383b88d8214dc8f2d8bc9521c3ddd1c4454927f (patch)
treef07b6ff5b0e2a1ed1725ab3a37c234d4fd18e1a1 /clang/lib/CodeGen/CodeGenFunction.cpp
parent895e5b2d80d390e3f0c8e229fcb9177fa8eab8c4 (diff)
downloadllvm-f383b88d8214dc8f2d8bc9521c3ddd1c4454927f.zip
llvm-f383b88d8214dc8f2d8bc9521c3ddd1c4454927f.tar.gz
llvm-f383b88d8214dc8f2d8bc9521c3ddd1c4454927f.tar.bz2
[pseudo] Sort nonterminals based on their reduction order.
Reductions need to be performed in a careful order in GLR parser, to make sure we gather all alternatives before creating an ambigous forest node. This patch encodes the nonterminal order into the rule id, so that we can efficiently to determinal ordering of reductions in GLR parser. This patch also abstracts to a TestGrammar, which is shared among tests. This is a part of the GLR parser, https://reviews.llvm.org/D121368, https://reviews.llvm.org/D121150 Differential Revision: https://reviews.llvm.org/D122303
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions