[llvm] 6c7e1b1 - [AMDGPU] Added new encoding to getMCOpcodeGen
Stanislav Mekhanoshin via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 18 10:11:43 PDT 2020
Author: Stanislav Mekhanoshin
Date: 2020-06-18T10:11:33-07:00
New Revision: 6c7e1b16fa2f250baed58781774fed71f9f75036
URL: https://github.com/llvm/llvm-project/commit/6c7e1b16fa2f250baed58781774fed71f9f75036
DIFF: https://github.com/llvm/llvm-project/commit/6c7e1b16fa2f250baed58781774fed71f9f75036.diff
LOG: [AMDGPU] Added new encoding to getMCOpcodeGen
Nothing breaks yet, but all encodings shall be in the map.
Differential Revision: https://reviews.llvm.org/D81974
Added:
Modified:
llvm/lib/Target/AMDGPU/SIInstrInfo.td
Removed:
################################################################################
diff --git a/llvm/lib/Target/AMDGPU/SIInstrInfo.td b/llvm/lib/Target/AMDGPU/SIInstrInfo.td
index 1cb866fe254f..7aee52f91360 100644
--- a/llvm/lib/Target/AMDGPU/SIInstrInfo.td
+++ b/llvm/lib/Target/AMDGPU/SIInstrInfo.td
@@ -2492,7 +2492,8 @@ def getMCOpcodeGen : InstrMapping {
[!cast<string>(SIEncodingFamily.GFX80)],
[!cast<string>(SIEncodingFamily.GFX9)],
[!cast<string>(SIEncodingFamily.GFX10)],
- [!cast<string>(SIEncodingFamily.SDWA10)]];
+ [!cast<string>(SIEncodingFamily.SDWA10)],
+ [!cast<string>(SIEncodingFamily.GFX10_B)]];
}
// Get equivalent SOPK instruction.
More information about the llvm-commits
mailing list