Skip to content

Commit 58000b4

Browse files
committed
update asm/dasm test
1 parent 88aec5d commit 58000b4

13 files changed

+9722
-3556
lines changed

llvm/lib/Target/AMDGPU/SIInstrInfo.cpp

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7472,11 +7472,9 @@ void SIInstrInfo::moveToVALUImpl(SIInstrWorklist &Worklist,
74727472
case AMDGPU::S_MINIMUM_F16:
74737473
case AMDGPU::S_MAXIMUM_F16: {
74747474
const DebugLoc &DL = Inst.getDebugLoc();
7475-
Register NewDst;
7476-
if (ST.useRealTrue16Insts())
7477-
NewDst = MRI.createVirtualRegister(&AMDGPU::VGPR_16RegClass);
7478-
else
7479-
NewDst = MRI.createVirtualRegister(&AMDGPU::VGPR_32RegClass);
7475+
Register NewDst = MRI.createVirtualRegister(ST.useRealTrue16Insts()
7476+
? &AMDGPU::VGPR_16RegClass
7477+
: &AMDGPU::VGPR_32RegClass);
74807478
MachineInstr *NewInstr = BuildMI(*MBB, Inst, DL, get(NewOpcode), NewDst)
74817479
.addImm(0) // src0_modifiers
74827480
.add(Inst.getOperand(1))

llvm/test/MC/AMDGPU/gfx11_asm_vop3.s

Lines changed: 546 additions & 336 deletions
Large diffs are not rendered by default.

llvm/test/MC/AMDGPU/gfx11_asm_vop3_dpp16.s

Lines changed: 742 additions & 418 deletions
Large diffs are not rendered by default.

llvm/test/MC/AMDGPU/gfx11_asm_vop3_dpp8.s

Lines changed: 625 additions & 358 deletions
Large diffs are not rendered by default.

llvm/test/MC/AMDGPU/gfx12_asm_vop3.s

Lines changed: 442 additions & 334 deletions
Large diffs are not rendered by default.

llvm/test/MC/AMDGPU/gfx12_asm_vop3_dpp16.s

Lines changed: 569 additions & 434 deletions
Large diffs are not rendered by default.

llvm/test/MC/AMDGPU/gfx12_asm_vop3_dpp8.s

Lines changed: 477 additions & 342 deletions
Large diffs are not rendered by default.

llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop3.txt

Lines changed: 1073 additions & 305 deletions
Large diffs are not rendered by default.

llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop3_dpp16.txt

Lines changed: 1077 additions & 285 deletions
Large diffs are not rendered by default.

llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop3_dpp8.txt

Lines changed: 1042 additions & 274 deletions
Large diffs are not rendered by default.

llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_vop3.txt

Lines changed: 914 additions & 167 deletions
Large diffs are not rendered by default.

llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_vop3_dpp16.txt

Lines changed: 1162 additions & 163 deletions
Large diffs are not rendered by default.

llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_vop3_dpp8.txt

Lines changed: 1050 additions & 135 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)