[AMDGPU] Added new encoding to getMCOpcodeGen
authorStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Tue, 16 Jun 2020 22:15:15 +0000 (15:15 -0700)
committerStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Thu, 18 Jun 2020 17:11:33 +0000 (10:11 -0700)
Nothing breaks yet, but all encodings shall be in the map.

Differential Revision: https://reviews.llvm.org/D81974

llvm/lib/Target/AMDGPU/SIInstrInfo.td

index 1cb866f..7aee52f 100644 (file)
@@ -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.