diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2017-04-10 17:58:06 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2017-04-10 17:58:06 +0000 |
commit | 678e111e11307b52ba1da0b5538cda9b8b4746cb (patch) | |
tree | fbd642d870226fdc5f60dd52d9264e7e3afbdecc /llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h | |
parent | 08582c8e50ac2b99c049b9757b52bf15e9d23a31 (diff) | |
download | bcm5719-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/Utils/AMDGPUBaseInfo.h')
-rw-r--r-- | llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h b/llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h index 0ce90284d67..a8ce3c56551 100644 --- a/llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h +++ b/llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h @@ -21,10 +21,6 @@ #include <cstdint> #include <utility> -#define GET_INSTRINFO_OPERAND_ENUM -#include "AMDGPUGenInstrInfo.inc" -#undef GET_INSTRINFO_OPERAND_ENUM - namespace llvm { class FeatureBitset; |