From: Nico Weber Date: Mon, 1 Jun 2020 02:04:35 +0000 (-0400) Subject: [gn build] (semi-manually) port a8ca0ec2670 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=216bad9a64ebfac51d36210738d2b9aa3de69511;p=platform%2Fupstream%2Fllvm.git [gn build] (semi-manually) port a8ca0ec2670 --- 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 f44a40f6..8f55467 100644 --- a/llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/BUILD.gn @@ -42,6 +42,15 @@ tablegen("AMDGPUGenPostLegalizeGICombiner") { td_file = "AMDGPUGISel.td" } +tablegen("AMDGPUGenRegBankGICombiner") { + visibility = [ ":LLVMAMDGPUCodeGen" ] + args = [ + "-gen-global-isel-combiner", + "-combiners=AMDGPURegBankCombinerHelper", + ] + td_file = "AMDGPUGISel.td" +} + tablegen("AMDGPUGenMCPseudoLowering") { visibility = [ ":LLVMAMDGPUCodeGen" ] args = [ "-gen-pseudo-lowering" ] @@ -81,6 +90,7 @@ static_library("LLVMAMDGPUCodeGen") { ":AMDGPUGenMCPseudoLowering", ":AMDGPUGenPostLegalizeGICombiner", ":AMDGPUGenPreLegalizeGICombiner", + ":AMDGPUGenRegBankGICombiner", ":AMDGPUGenRegisterBank", ":R600GenCallingConv", ":R600GenDAGISel", @@ -141,6 +151,7 @@ static_library("LLVMAMDGPUCodeGen") { "AMDGPUPrintfRuntimeBinding.cpp", "AMDGPUPromoteAlloca.cpp", "AMDGPUPropagateAttributes.cpp", + "AMDGPURegBankCombiner.cpp", "AMDGPURegisterBankInfo.cpp", "AMDGPURewriteOutArguments.cpp", "AMDGPUSubtarget.cpp",