[llvm] AMDGPU: Fix gcc build break (PR #161354)
Petar Avramovic via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 30 04:22:03 PDT 2025
https://github.com/petar-avramovic created https://github.com/llvm/llvm-project/pull/161354
None
>From ffd055c969f0fca4474fb7a5d17b5fb2d9f6bde1 Mon Sep 17 00:00:00 2001
From: Petar Avramovic <Petar.Avramovic at amd.com>
Date: Tue, 30 Sep 2025 13:20:52 +0200
Subject: [PATCH] AMDGPU: Fix gcc build break
---
llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp b/llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
index 7f08a4eef97c9..134f87c48e507 100644
--- a/llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
+++ b/llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
@@ -4268,7 +4268,7 @@ Register AMDGPUInstructionSelector::copyToVGPRIfSrcFolded(
InstructionSelector::ComplexRendererFns
AMDGPUInstructionSelector::selectIgnore(MachineOperand &Root) const {
- return {{}};
+ return {{[=](MachineInstrBuilder &MIB) {}}};
}
///
More information about the llvm-commits
mailing list