]> granicus.if.org Git - llvm/commitdiff
gn build: (manually) merge r373551
authorNico Weber <nicolasweber@gmx.de>
Thu, 3 Oct 2019 01:32:51 +0000 (01:32 +0000)
committerNico Weber <nicolasweber@gmx.de>
Thu, 3 Oct 2019 01:32:51 +0000 (01:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@373554 91177308-0d34-0410-b5e6-96231b3b80d8

utils/gn/secondary/llvm/unittests/BUILD.gn
utils/gn/secondary/llvm/unittests/TableGen/BUILD.gn [new file with mode: 0644]
utils/gn/secondary/llvm/utils/TableGen/BUILD.gn
utils/gn/secondary/llvm/utils/TableGen/GlobalISel/BUILD.gn [new file with mode: 0644]

index f03456dca4a890548eb3766ef8e9bdcd825320b8..3d607dd77471172f821926739e62ea11e5250f9e 100644 (file)
@@ -34,6 +34,7 @@ group("unittests") {
     "Remarks:RemarksTests",
     "Support:SupportTests",
     "Support/DynamicLibrary:DynamicLibraryTests",
+    "TableGen:TableGenTests",
     "TextAPI:TextAPITests",
     "Transforms/IPO:IPOTests",
     "Transforms/Scalar:ScalarTests",
diff --git a/utils/gn/secondary/llvm/unittests/TableGen/BUILD.gn b/utils/gn/secondary/llvm/unittests/TableGen/BUILD.gn
new file mode 100644 (file)
index 0000000..3f128f8
--- /dev/null
@@ -0,0 +1,13 @@
+import("//llvm/utils/unittest/unittest.gni")
+
+unittest("TableGenTests") {
+  deps = [
+    "//llvm/lib/Support",
+    "//llvm/lib/TableGen",
+    "//llvm/utils/TableGen/GlobalISel",
+  ]
+  include_dirs = [ "//llvm/utils/TableGen" ]
+  sources = [
+    "CodeExpanderTest.cpp",
+  ]
+}
index 9f5043faeed8c6e69d8135586abe97c21f65cacc..952b2f91606274ea808bdeb05b194b761e75a4fd 100644 (file)
@@ -4,6 +4,7 @@ executable("llvm-tblgen") {
     "//llvm/lib/MC",
     "//llvm/lib/Support",
     "//llvm/lib/TableGen",
+    "//llvm/utils/TableGen/GlobalISel",
   ]
   sources = [
     "AsmMatcherEmitter.cpp",
diff --git a/utils/gn/secondary/llvm/utils/TableGen/GlobalISel/BUILD.gn b/utils/gn/secondary/llvm/utils/TableGen/GlobalISel/BUILD.gn
new file mode 100644 (file)
index 0000000..fe703cf
--- /dev/null
@@ -0,0 +1,8 @@
+source_set("GlobalISel") {
+  deps = [
+    "//llvm/lib/Support",
+  ]
+  sources = [
+    "CodeExpander.cpp",
+  ]
+}