We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c581612 commit c695b99Copy full SHA for c695b99
llvm/lib/Target/AMDGPU/GCNPreRAOptimizations.cpp
@@ -262,6 +262,9 @@ bool GCNPreRAOptimizationsImpl::isUnpackingSupportedInstr(MachineInstr &MI) cons
262
263
uint16_t GCNPreRAOptimizationsImpl::mapToUnpackedOpcode(MachineInstr &I) {
264
unsigned Opcode = I.getOpcode();
265
+ // use 64 bit encoding to allow use of VOP3 instructions.
266
+ // VOP3 instructions allow VOP3P source modifiers to be translated to VOP3
267
+ // e32 instructions are VOP2 and don't allow source modifiers
268
switch (Opcode) {
269
case AMDGPU::V_PK_ADD_F32:
270
return AMDGPU::V_ADD_F32_e64;
0 commit comments