Skip to content

Commit 86734c8

Browse files
committed
[NFC][AMDGPU] Remove redundant code in AMDGPUAsmPrinter.cpp
1 parent 81d93af commit 86734c8

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1594,9 +1594,6 @@ void AMDGPUAsmPrinter::getAmdKernelCode(AMDGPUMCKernelCodeT &Out,
15941594
if (UserSGPRInfo.hasPrivateSegmentSize())
15951595
Out.code_properties |= AMD_CODE_PROPERTY_ENABLE_SGPR_PRIVATE_SEGMENT_SIZE;
15961596

1597-
if (UserSGPRInfo.hasDispatchPtr())
1598-
Out.code_properties |= AMD_CODE_PROPERTY_ENABLE_SGPR_DISPATCH_PTR;
1599-
16001597
if (STM.isXNACKEnabled())
16011598
Out.code_properties |= AMD_CODE_PROPERTY_IS_XNACK_SUPPORTED;
16021599

0 commit comments

Comments
 (0)