[llvm] 29a0e0a - [AMDGPU] Do not define GET_INSTRINFO_SCHED_ENUM
Stanislav Mekhanoshin via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 15 13:02:23 PST 2022
Author: Stanislav Mekhanoshin
Date: 2022-02-15T13:00:54-08:00
New Revision: 29a0e0a9e54f3863dd01a17552d4eda3c926b7f5
URL: https://github.com/llvm/llvm-project/commit/29a0e0a9e54f3863dd01a17552d4eda3c926b7f5
DIFF: https://github.com/llvm/llvm-project/commit/29a0e0a9e54f3863dd01a17552d4eda3c926b7f5.diff
LOG: [AMDGPU] Do not define GET_INSTRINFO_SCHED_ENUM
Autogenerated names are too long and break compilation on Windows,
while we do not need this enum at all.
Differential Revision: https://reviews.llvm.org/D119869
Added:
Modified:
llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.h
Removed:
################################################################################
diff --git a/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.h b/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.h
index e5cce6045c8cc..db277c33a591d 100644
--- a/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.h
+++ b/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.h
@@ -51,7 +51,6 @@ createAMDGPUELFObjectWriter(bool Is64Bit, uint8_t OSABI,
#define GET_INSTRINFO_ENUM
#define GET_INSTRINFO_OPERAND_ENUM
-#define GET_INSTRINFO_SCHED_ENUM
#include "AMDGPUGenInstrInfo.inc"
#define GET_SUBTARGETINFO_ENUM
More information about the llvm-commits
mailing list