File tree Expand file tree Collapse file tree 5 files changed +10
-21
lines changed
utils/gn/secondary/llvm/lib/Target/AMDGPU Expand file tree Collapse file tree 5 files changed +10
-21
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ struct AMDGPUImageDMaskIntrinsic {
3535};
3636
3737#define GET_AMDGPUImageDMaskIntrinsicTable_IMPL
38- #include " InstCombineTables .inc"
38+ #include " AMDGPUGenSearchableTables .inc"
3939
4040} // end anonymous namespace
4141
Original file line number Diff line number Diff line change @@ -413,3 +413,12 @@ def : AlwaysUniform<int_amdgcn_s_getpc>;
413413def : AlwaysUniform<int_amdgcn_s_getreg>;
414414def : AlwaysUniform<int_amdgcn_s_memrealtime>;
415415def : AlwaysUniform<int_amdgcn_s_memtime>;
416+
417+ def AMDGPUImageDMaskIntrinsicTable : GenericTable {
418+ let FilterClass = "AMDGPUImageDMaskIntrinsic";
419+ let Fields = ["Intr"];
420+
421+ let PrimaryKey = ["Intr"];
422+ let PrimaryKeyName = "getAMDGPUImageDMaskIntrinsic";
423+ let PrimaryKeyEarlyOut = 1;
424+ }
Original file line number Diff line number Diff line change @@ -40,10 +40,6 @@ tablegen(LLVM R600GenSubtargetInfo.inc -gen-subtarget)
4040
4141add_public_tablegen_target(AMDGPUCommonTableGen)
4242
43- set (LLVM_TARGET_DEFINITIONS InstCombineTables.td)
44- tablegen(LLVM InstCombineTables.inc -gen-searchable-tables)
45- add_public_tablegen_target(InstCombineTableGen)
46-
4743add_llvm_target(AMDGPUCodeGen
4844 AMDGPUAliasAnalysis.cpp
4945 AMDGPUAlwaysInlinePass.cpp
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -75,11 +75,6 @@ tablegen("AMDGPUGenSDNodeInfo") {
7575 td_file = " AMDGPU.td"
7676}
7777
78- tablegen (" InstCombineTables" ) {
79- visibility = [ " :LLVMAMDGPUCodeGen" ]
80- args = [ " -gen-searchable-tables" ]
81- }
82-
8378tablegen (" R600GenCallingConv" ) {
8479 visibility = [ " :LLVMAMDGPUCodeGen" ]
8580 args = [ " -gen-callingconv" ]
@@ -110,7 +105,6 @@ static_library("LLVMAMDGPUCodeGen") {
110105 " :AMDGPUGenRegBankGICombiner" ,
111106 " :AMDGPUGenRegisterBank" ,
112107 " :AMDGPUGenSDNodeInfo" ,
113- " :InstCombineTables" ,
114108 " :R600GenCallingConv" ,
115109 " :R600GenDAGISel" ,
116110 " :R600GenDFAPacketizer" ,
You can’t perform that action at this time.
0 commit comments