[PATCH] D119869: [AMDGPU] Do not define GET_INSTRINFO_SCHED_ENUM

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 15 11:21:59 PST 2022


rampitec created this revision.
rampitec added a reviewer: kzhuravl.
Herald added subscribers: foad, kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, jvesely, arsenm.
rampitec requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.

Autogenerated names are too long and break compilation on Windows,
while we do not need this enum at all.


https://reviews.llvm.org/D119869

Files:
  llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.h


Index: llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.h
===================================================================
--- llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.h
+++ llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.h
@@ -51,7 +51,6 @@
 
 #define GET_INSTRINFO_ENUM
 #define GET_INSTRINFO_OPERAND_ENUM
-#define GET_INSTRINFO_SCHED_ENUM
 #include "AMDGPUGenInstrInfo.inc"
 
 #define GET_SUBTARGETINFO_ENUM


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119869.408973.patch
Type: text/x-patch
Size: 441 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220215/05095f29/attachment-0001.bin>


More information about the llvm-commits mailing list