Skip to content

Commit c40902c

Browse files
[AMDGPU] Use llvm::endianness::little (NFC)
Note that llvm::support::endianness has been renamed to llvm::endianness. This patch replaces support::endianness::little with llvm::endianness::little.
1 parent 797b767 commit c40902c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCCodeEmitter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ void AMDGPUMCCodeEmitter::encodeInstruction(const MCInst &MI,
414414
if (Desc.operands()[i].OperandType == AMDGPU::OPERAND_REG_IMM_FP64)
415415
Imm = Hi_32(Imm);
416416

417-
support::endian::write<uint32_t>(CB, Imm, support::endianness::little);
417+
support::endian::write<uint32_t>(CB, Imm, llvm::endianness::little);
418418

419419
// Only one literal value allowed
420420
break;

0 commit comments

Comments
 (0)