AMDGPU: Fix broken switch braces

This commit is contained in:
Matt Arsenault 2020-08-27 17:17:50 -04:00
parent f08bbde83f
commit 9d3dc276a6
1 changed files with 2 additions and 1 deletions

View File

@ -11408,7 +11408,7 @@ void SITargetLowering::computeKnownBitsForTargetInstr(
const MachineInstr *MI = MRI.getVRegDef(R);
switch (MI->getOpcode()) {
case AMDGPU::G_INTRINSIC: {
switch (MI->getIntrinsicID())
switch (MI->getIntrinsicID()) {
case Intrinsic::amdgcn_workitem_id_x:
knownBitsForWorkitemID(*getSubtarget(), KB, Known, 0);
break;
@ -11427,6 +11427,7 @@ void SITargetLowering::computeKnownBitsForTargetInstr(
}
default:
break;
}
}
}
}