From: Michael Liao Date: Fri, 26 Jul 2019 17:13:59 +0000 (+0000) Subject: [AMDGPU] Fix typo. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a2bc20d68516acaa756ea3fc8076a2823dcec5ba;p=llvm [AMDGPU] Fix typo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@367131 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/AMDGPU/AMDGPUCallLowering.cpp b/lib/Target/AMDGPU/AMDGPUCallLowering.cpp index d0c99aeca0a..c860d7975d8 100644 --- a/lib/Target/AMDGPU/AMDGPUCallLowering.cpp +++ b/lib/Target/AMDGPU/AMDGPUCallLowering.cpp @@ -308,8 +308,8 @@ bool AMDGPUCallLowering::lowerReturn(MachineIRBuilder &MIRBuilder, auto const &ST = MIRBuilder.getMF().getSubtarget(); - unsigned ReturnOpc = ReturnOpc = IsShader ? - AMDGPU::SI_RETURN_TO_EPILOG : AMDGPU::S_SETPC_B64_return; + unsigned ReturnOpc = + IsShader ? AMDGPU::SI_RETURN_TO_EPILOG : AMDGPU::S_SETPC_B64_return; auto Ret = MIRBuilder.buildInstrNoInsert(ReturnOpc); Register ReturnAddrVReg;