[llvm] c2e27be - [gn] Port fcc5f9ef50e1 (GenVT)
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 14 03:12:30 PDT 2023
Author: Nico Weber
Date: 2023-04-14T06:11:43-04:00
New Revision: c2e27be8ef5e3ff7d80d19cfcd28e674fcd2eab0
URL: https://github.com/llvm/llvm-project/commit/c2e27be8ef5e3ff7d80d19cfcd28e674fcd2eab0
DIFF: https://github.com/llvm/llvm-project/commit/c2e27be8ef5e3ff7d80d19cfcd28e674fcd2eab0.diff
LOG: [gn] Port fcc5f9ef50e1 (GenVT)
Added:
Modified:
llvm/utils/gn/secondary/llvm/unittests/Support/BUILD.gn
llvm/utils/gn/secondary/llvm/utils/TableGen/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/llvm/unittests/Support/BUILD.gn b/llvm/utils/gn/secondary/llvm/unittests/Support/BUILD.gn
index 2a18c279cbe07..d872973c177f7 100644
--- a/llvm/utils/gn/secondary/llvm/unittests/Support/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/unittests/Support/BUILD.gn
@@ -1,7 +1,15 @@
+import("//llvm/utils/TableGen/tablegen.gni")
import("//third-party/unittest/unittest.gni")
+tablegen("GenVT") {
+ visibility = [ ":SupportTests" ]
+ args = [ "-gen-vt" ]
+ td_file = "//llvm/include/llvm/CodeGen/ValueTypes.td"
+}
+
unittest("SupportTests") {
deps = [
+ ":GenVT",
"//llvm/lib/Support",
"//llvm/lib/TargetParser",
"//llvm/lib/Testing/Support",
@@ -55,6 +63,7 @@ unittest("SupportTests") {
"LineIteratorTest.cpp",
"LockFileManagerTest.cpp",
"MD5Test.cpp",
+ "MVTTest.cpp",
"ManagedStatic.cpp",
"MatchersTest.cpp",
"MathExtrasTest.cpp",
diff --git a/llvm/utils/gn/secondary/llvm/utils/TableGen/BUILD.gn b/llvm/utils/gn/secondary/llvm/utils/TableGen/BUILD.gn
index a9352fd128df0..1f201bd783b73 100644
--- a/llvm/utils/gn/secondary/llvm/utils/TableGen/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/utils/TableGen/BUILD.gn
@@ -56,6 +56,7 @@ executable("llvm-tblgen") {
"SubtargetFeatureInfo.cpp",
"TableGen.cpp",
"Types.cpp",
+ "VTEmitter.cpp",
"VarLenCodeEmitterGen.cpp",
"WebAssemblyDisassemblerEmitter.cpp",
"X86DisassemblerTables.cpp",
More information about the llvm-commits
mailing list