[PATCH] AMDGPU/SI: Clean up indentation in SIInstrInfo::getDefaultRsrcDataFormat

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 1 09:56:08 PDT 2015


On Thu, Oct 01, 2015 at 04:14:18PM +0900, Michel Dänzer via llvm-commits wrote:
> From: Michel Dänzer <michel.daenzer at amd.com>
> 
LGTM.

> Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
> ---
>  lib/Target/AMDGPU/SIInstrInfo.cpp | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/lib/Target/AMDGPU/SIInstrInfo.cpp b/lib/Target/AMDGPU/SIInstrInfo.cpp
> index 85c1e91..732bbee 100644
> --- a/lib/Target/AMDGPU/SIInstrInfo.cpp
> +++ b/lib/Target/AMDGPU/SIInstrInfo.cpp
> @@ -2774,9 +2774,9 @@ uint64_t SIInstrInfo::getDefaultRsrcDataFormat() const {
>    if (ST.isAmdHsaOS()) {
>      RsrcDataFormat |= (1ULL << 56);
>  
> -  if (ST.getGeneration() >= AMDGPUSubtarget::VOLCANIC_ISLANDS)
> -    // Set MTYPE = 2
> -    RsrcDataFormat |= (2ULL << 59);
> +    if (ST.getGeneration() >= AMDGPUSubtarget::VOLCANIC_ISLANDS)
> +      // Set MTYPE = 2
> +      RsrcDataFormat |= (2ULL << 59);
>    }
>  
>    return RsrcDataFormat;
> -- 
> 2.5.0
> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits


More information about the llvm-commits mailing list