[llvm] 6601dfb - [gn bulid] Remove phantom WebAssembly tablegen() calls
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 15 13:14:51 PDT 2020
Author: Nico Weber
Date: 2020-10-15T16:14:11-04:00
New Revision: 6601dfb0b8c78cdd5de0e50fb3549f9b8f947eb3
URL: https://github.com/llvm/llvm-project/commit/6601dfb0b8c78cdd5de0e50fb3549f9b8f947eb3
DIFF: https://github.com/llvm/llvm-project/commit/6601dfb0b8c78cdd5de0e50fb3549f9b8f947eb3.diff
LOG: [gn bulid] Remove phantom WebAssembly tablegen() calls
Apparenlty I added these in https://reviews.llvm.org/rL350628 but
I'm not sure why. They never existed in the CMake build, and now
they're causing trouble.
Added:
Modified:
llvm/utils/gn/secondary/llvm/lib/Target/WebAssembly/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/WebAssembly/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/WebAssembly/BUILD.gn
index c9947f705a32..dba1f9826918 100644
--- a/llvm/utils/gn/secondary/llvm/lib/Target/WebAssembly/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/lib/Target/WebAssembly/BUILD.gn
@@ -1,11 +1,5 @@
import("//llvm/utils/TableGen/tablegen.gni")
-tablegen("WebAssemblyGenCallingConv") {
- visibility = [ ":LLVMWebAssemblyCodeGen" ]
- args = [ "-gen-callingconv" ]
- td_file = "WebAssembly.td"
-}
-
tablegen("WebAssemblyGenDAGISel") {
visibility = [ ":LLVMWebAssemblyCodeGen" ]
args = [ "-gen-dag-isel" ]
@@ -18,32 +12,10 @@ tablegen("WebAssemblyGenFastISel") {
td_file = "WebAssembly.td"
}
-tablegen("WebAssemblyGenGlobalISel") {
- visibility = [ ":LLVMWebAssemblyCodeGen" ]
- args = [ "-gen-global-isel" ]
- td_file = "WebAssembly.td"
-}
-
-tablegen("WebAssemblyGenMCPseudoLowering") {
- visibility = [ ":LLVMWebAssemblyCodeGen" ]
- args = [ "-gen-pseudo-lowering" ]
- td_file = "WebAssembly.td"
-}
-
-tablegen("WebAssemblyGenRegisterBank") {
- visibility = [ ":LLVMWebAssemblyCodeGen" ]
- args = [ "-gen-register-bank" ]
- td_file = "WebAssembly.td"
-}
-
static_library("LLVMWebAssemblyCodeGen") {
deps = [
- ":WebAssemblyGenCallingConv",
":WebAssemblyGenDAGISel",
":WebAssemblyGenFastISel",
- ":WebAssemblyGenGlobalISel",
- ":WebAssemblyGenMCPseudoLowering",
- ":WebAssemblyGenRegisterBank",
"MCTargetDesc",
"TargetInfo",
"//llvm/include/llvm/Config:llvm-config",
More information about the llvm-commits
mailing list