From: Matt Arsenault Date: Tue, 28 Jul 2015 18:09:55 +0000 (+0000) Subject: AMDGPU: Fix return type of getImplicitParameterOffset. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=c3f2d5b69084cccc66415e95ac1e9a7dcf3142b9;p=oota-llvm.git AMDGPU: Fix return type of getImplicitParameterOffset. Patch by Zoltan Gilian git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243459 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/AMDGPU/AMDGPUISelLowering.h b/lib/Target/AMDGPU/AMDGPUISelLowering.h index 478b2035fd7..1ce391e9816 100644 --- a/lib/Target/AMDGPU/AMDGPUISelLowering.h +++ b/lib/Target/AMDGPU/AMDGPUISelLowering.h @@ -216,7 +216,7 @@ public: /// \brief Helper function that returns the byte offset of the given /// type of implicit parameter. - unsigned getImplicitParameterOffset(const AMDGPUMachineFunction *MFI, + uint32_t getImplicitParameterOffset(const AMDGPUMachineFunction *MFI, const ImplicitParameter Param) const; };