Skip to content

Commit 1553b3d

Browse files
AMDGPU: Fix gcc build break (#161354)
1 parent c389f50 commit 1553b3d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4268,7 +4268,10 @@ Register AMDGPUInstructionSelector::copyToVGPRIfSrcFolded(
42684268

42694269
InstructionSelector::ComplexRendererFns
42704270
AMDGPUInstructionSelector::selectIgnore(MachineOperand &Root) const {
4271-
return {{}};
4271+
// Don't render anything.
4272+
ComplexRendererFns Renderers;
4273+
Renderers.emplace();
4274+
return Renderers;
42724275
}
42734276

42744277
///

0 commit comments

Comments
 (0)