[llvm] 88ba9fa - [gn build] Port 2a6c871596ce & 44a6bda19b40

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 22 09:40:57 PDT 2020


Author: Fangrui Song
Date: 2020-07-22T09:40:50-07:00
New Revision: 88ba9fa6a4b53110e3cda49eb40a3e1b65fd0011

URL: https://github.com/llvm/llvm-project/commit/88ba9fa6a4b53110e3cda49eb40a3e1b65fd0011
DIFF: https://github.com/llvm/llvm-project/commit/88ba9fa6a4b53110e3cda49eb40a3e1b65fd0011.diff

LOG: [gn build] Port 2a6c871596ce & 44a6bda19b40

Added: 
    

Modified: 
    llvm/utils/gn/secondary/llvm/lib/Analysis/BUILD.gn
    llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/BUILD.gn
    llvm/utils/gn/secondary/llvm/lib/Transforms/InstCombine/BUILD.gn

Removed: 
    


################################################################################
diff  --git a/llvm/utils/gn/secondary/llvm/lib/Analysis/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Analysis/BUILD.gn
index c2f79568b6de..a1ed1d25d381 100644
--- a/llvm/utils/gn/secondary/llvm/lib/Analysis/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/lib/Analysis/BUILD.gn
@@ -47,6 +47,7 @@ static_library("Analysis") {
     "DomTreeUpdater.cpp",
     "DominanceFrontier.cpp",
     "EHPersonalities.cpp",
+    "FunctionPropertiesAnalysis.cpp",
     "GlobalsModRef.cpp",
     "GuardUtils.cpp",
     "HeatUtils.cpp",
@@ -55,7 +56,6 @@ static_library("Analysis") {
     "IndirectCallPromotionAnalysis.cpp",
     "InlineAdvisor.cpp",
     "InlineCost.cpp",
-    "InlineFeaturesAnalysis.cpp",
     "InlineSizeEstimatorAnalysis.cpp",
     "InstCount.cpp",
     "InstructionPrecedenceTracking.cpp",

diff  --git a/llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/BUILD.gn
index 8f554673f752..ef1f74795177 100644
--- a/llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/BUILD.gn
@@ -63,6 +63,11 @@ tablegen("AMDGPUGenRegisterBank") {
   td_file = "AMDGPU.td"
 }
 
+tablegen("InstCombineTables") {
+  visibility = [ ":LLVMAMDGPUCodeGen" ]
+  args = [ "-gen-searchable-tables" ]
+}
+
 tablegen("R600GenCallingConv") {
   visibility = [ ":LLVMAMDGPUCodeGen" ]
   args = [ "-gen-callingconv" ]
@@ -92,6 +97,7 @@ static_library("LLVMAMDGPUCodeGen") {
     ":AMDGPUGenPreLegalizeGICombiner",
     ":AMDGPUGenRegBankGICombiner",
     ":AMDGPUGenRegisterBank",
+    ":InstCombineTables",
     ":R600GenCallingConv",
     ":R600GenDAGISel",
     ":R600GenDFAPacketizer",

diff  --git a/llvm/utils/gn/secondary/llvm/lib/Transforms/InstCombine/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Transforms/InstCombine/BUILD.gn
index 6e929a912d91..e2d131981560 100644
--- a/llvm/utils/gn/secondary/llvm/lib/Transforms/InstCombine/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/lib/Transforms/InstCombine/BUILD.gn
@@ -1,14 +1,8 @@
 import("//llvm/utils/TableGen/tablegen.gni")
 
-tablegen("InstCombineTables") {
-  visibility = [ ":InstCombine" ]
-  args = [ "-gen-searchable-tables" ]
-}
-
 static_library("InstCombine") {
   output_name = "LLVMInstCombine"
   deps = [
-    ":InstCombineTables",
     "//llvm/lib/Analysis",
     "//llvm/lib/IR",
     "//llvm/lib/Support",


        


More information about the llvm-commits mailing list