llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc
Joe Nash b28bb8cc9c [AMDGPU] Remove old operand from VOPC DPP
For most DPP instructions, the old operand stores the value that was in
the current lane before the DPP operation, and is tied to the
destination. For VOPC DPP, this is unnecessary and incorrect.

There appears to have been a latent bug related to D122737 with
SIInstrInfo::isOperandLegal. If you checked if a register operand was legal
when the InstructionDesc expected an immediate, it reported that is valid.
Its fix is necessary for and tested in this patch.

Reviewed By: foad, rampitec

Differential Revision: https://reviews.llvm.org/D130040
2022-07-19 09:35:05 -04:00
..
AMDGPUAsmBackend.cpp [llvm] Use value_or instead of getValueOr (NFC) 2022-06-18 23:07:11 -07:00
AMDGPUELFObjectWriter.cpp [AMDGPU] Add support for the .reloc directive 2022-06-07 15:18:54 +01:00
AMDGPUELFStreamer.cpp
AMDGPUELFStreamer.h
AMDGPUFixupKinds.h
AMDGPUInstPrinter.cpp [AMDGPU] Remove old operand from VOPC DPP 2022-07-19 09:35:05 -04:00
AMDGPUInstPrinter.h [AMDGPU] gfx11 VOPC instructions 2022-06-09 15:22:42 -04:00
AMDGPUMCAsmInfo.cpp [Target] Remove redundant member initialization (NFC) 2022-01-06 22:01:44 -08:00
AMDGPUMCAsmInfo.h
AMDGPUMCCodeEmitter.cpp
AMDGPUMCCodeEmitter.h [CodeGen] Move instruction predicate verification to emitInstruction 2022-07-14 09:33:28 +01:00
AMDGPUMCTargetDesc.cpp [CodeGen] Move instruction predicate verification to emitInstruction 2022-07-14 09:33:28 +01:00
AMDGPUMCTargetDesc.h [CodeGen] Move instruction predicate verification to emitInstruction 2022-07-14 09:33:28 +01:00
AMDGPUTargetStreamer.cpp [AMDGPU] Add the uses_dynamic_stack field to the kernel descriptor and the kernel metadata map 2022-07-18 10:07:13 +05:30
AMDGPUTargetStreamer.h
CMakeLists.txt
R600InstPrinter.cpp
R600InstPrinter.h
R600MCCodeEmitter.cpp [CodeGen] Move instruction predicate verification to emitInstruction 2022-07-14 09:33:28 +01:00
R600MCTargetDesc.cpp [CodeGen] Move instruction predicate verification to emitInstruction 2022-07-14 09:33:28 +01:00
R600MCTargetDesc.h [CodeGen] Move instruction predicate verification to emitInstruction 2022-07-14 09:33:28 +01:00
SIMCCodeEmitter.cpp [CodeGen] Move instruction predicate verification to emitInstruction 2022-07-14 09:33:28 +01:00