[llvm] r373726 - gn build: (manually) merge r373718
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 4 03:20:47 PDT 2019
Author: nico
Date: Fri Oct 4 03:20:47 2019
New Revision: 373726
URL: http://llvm.org/viewvc/llvm-project?rev=373726&view=rev
Log:
gn build: (manually) merge r373718
Modified:
llvm/trunk/utils/gn/secondary/llvm/unittests/TableGen/BUILD.gn
llvm/trunk/utils/gn/secondary/llvm/utils/TableGen/BUILD.gn
Modified: llvm/trunk/utils/gn/secondary/llvm/unittests/TableGen/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/secondary/llvm/unittests/TableGen/BUILD.gn?rev=373726&r1=373725&r2=373726&view=diff
==============================================================================
--- llvm/trunk/utils/gn/secondary/llvm/unittests/TableGen/BUILD.gn (original)
+++ llvm/trunk/utils/gn/secondary/llvm/unittests/TableGen/BUILD.gn Fri Oct 4 03:20:47 2019
@@ -1,13 +1,29 @@
+import("//llvm/utils/TableGen/tablegen.gni")
import("//llvm/utils/unittest/unittest.gni")
+tablegen("AutomataAutomata") {
+ visibility = [ ":TableGenTests" ]
+ args = [ "-gen-automata" ]
+ td_file = "Automata.td"
+}
+
+tablegen("AutomataTables") {
+ visibility = [ ":TableGenTests" ]
+ args = [ "-gen-searchable-tables" ]
+ td_file = "Automata.td"
+}
+
unittest("TableGenTests") {
deps = [
+ ":AutomataAutomata",
+ ":AutomataTables",
"//llvm/lib/Support",
"//llvm/lib/TableGen",
"//llvm/utils/TableGen/GlobalISel",
]
include_dirs = [ "//llvm/utils/TableGen" ]
sources = [
+ "AutomataTest.cpp",
"CodeExpanderTest.cpp",
]
}
Modified: llvm/trunk/utils/gn/secondary/llvm/utils/TableGen/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/secondary/llvm/utils/TableGen/BUILD.gn?rev=373726&r1=373725&r2=373726&view=diff
==============================================================================
--- llvm/trunk/utils/gn/secondary/llvm/utils/TableGen/BUILD.gn (original)
+++ llvm/trunk/utils/gn/secondary/llvm/utils/TableGen/BUILD.gn Fri Oct 4 03:20:47 2019
@@ -26,6 +26,7 @@ executable("llvm-tblgen") {
"DAGISelMatcherEmitter.cpp",
"DAGISelMatcherGen.cpp",
"DAGISelMatcherOpt.cpp",
+ "DFAEmitter.cpp",
"DFAPacketizerEmitter.cpp",
"DisassemblerEmitter.cpp",
"ExegesisEmitter.cpp",
More information about the llvm-commits
mailing list