[llvm] AMDGPU: Fix gcc build break (PR #161354)
Petar Avramovic via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 30 04:49:50 PDT 2025
================
@@ -4268,7 +4268,10 @@ Register AMDGPUInstructionSelector::copyToVGPRIfSrcFolded(
InstructionSelector::ComplexRendererFns
AMDGPUInstructionSelector::selectIgnore(MachineOperand &Root) const {
- return {{}};
+ // Don't render anything.
+ ComplexRendererFns Renderers;
+ Renderers.emplace();
----------------
petar-avramovic wrote:
get
LLVM ERROR: cannot select: G_INTRINSIC_CONVERGENT_W_SIDE_EFFECTS intrinsic(@llvm.amdgcn.s.barrier.leave), 1 (in function: kernel1)
without it
https://github.com/llvm/llvm-project/pull/161354
More information about the llvm-commits
mailing list