[llvm] 29d571f - [AMDGPU] Fix expensive-checks build.
Ivan Kosarev via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 5 02:26:38 PDT 2023
Author: Ivan Kosarev
Date: 2023-07-05T10:26:21+01:00
New Revision: 29d571fa7d6872663ff3cb45b4970f458bd1e6a0
URL: https://github.com/llvm/llvm-project/commit/29d571fa7d6872663ff3cb45b4970f458bd1e6a0
DIFF: https://github.com/llvm/llvm-project/commit/29d571fa7d6872663ff3cb45b4970f458bd1e6a0.diff
LOG: [AMDGPU] Fix expensive-checks build.
Completes <https://reviews.llvm.org/D154337>.
Added:
Modified:
llvm/lib/Target/AMDGPU/AMDGPUMCInstLower.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/AMDGPU/AMDGPUMCInstLower.cpp b/llvm/lib/Target/AMDGPU/AMDGPUMCInstLower.cpp
index 508517f754d184..c24d39b9e5fddf 100644
--- a/llvm/lib/Target/AMDGPU/AMDGPUMCInstLower.cpp
+++ b/llvm/lib/Target/AMDGPU/AMDGPUMCInstLower.cpp
@@ -287,7 +287,7 @@ void AMDGPUAsmPrinter::emitInstruction(const MachineInstr *MI) {
SmallVector<MCFixup, 4> Fixups;
SmallVector<char, 16> CodeBytes;
- std::unique_ptr<MCCodeEmitter> InstEmitter(createSIMCCodeEmitter(
+ std::unique_ptr<MCCodeEmitter> InstEmitter(createAMDGPUMCCodeEmitter(
*STI.getInstrInfo(), OutContext));
InstEmitter->encodeInstruction(TmpInst, CodeBytes, Fixups, STI);
More information about the llvm-commits
mailing list