summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.h
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2017-04-10 17:58:06 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2017-04-10 17:58:06 +0000
commit678e111e11307b52ba1da0b5538cda9b8b4746cb (patch)
treefbd642d870226fdc5f60dd52d9264e7e3afbdecc /llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.h
parent08582c8e50ac2b99c049b9757b52bf15e9d23a31 (diff)
downloadbcm5719-llvm-678e111e11307b52ba1da0b5538cda9b8b4746cb.tar.gz
bcm5719-llvm-678e111e11307b52ba1da0b5538cda9b8b4746cb.zip
AMDGPU: Fix crash when disassembling VOP3 mac
The unused dummy src2_modifiers is missing, so it crashes when trying to print it. I tried to fully remove src2_modifiers, but there are some irritations in the places where it is converted to mad since it starts to require modifying use lists while iterating over them. llvm-svn: 299861
Diffstat (limited to 'llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.h')
-rw-r--r--llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.h b/llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.h
index a122fd612ec..12caa511834 100644
--- a/llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.h
+++ b/llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.h
@@ -21,7 +21,6 @@
#include "Utils/AMDGPUBaseInfo.h"
#define GET_INSTRINFO_HEADER
-#define GET_INSTRINFO_ENUM
#include "AMDGPUGenInstrInfo.inc"
namespace llvm {
OpenPOWER on IntegriCloud