From 60ea804d3d4da3ab6803c3e4d30c19221141a5a9 Mon Sep 17 00:00:00 2001 From: Yi Kong Date: Fri, 15 Aug 2014 08:53:22 +0000 Subject: [PATCH] arm_acle.h: Small cleanup Since __SIZEOF_LONG_LONG__ is always defined as 8 on ARM targets, there's no point in checking this. NFC. Patch by Moritz Roth. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@215697 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Headers/arm_acle.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/Headers/arm_acle.h b/lib/Headers/arm_acle.h index 286bc20e12..110884b3b8 100644 --- a/lib/Headers/arm_acle.h +++ b/lib/Headers/arm_acle.h @@ -108,11 +108,7 @@ static __inline__ unsigned long __attribute__((always_inline, nodebug)) static __inline__ uint64_t __attribute__((always_inline, nodebug)) __clzll(uint64_t t) { -#if __SIZEOF_LONG_LONG__ == 8 return __builtin_clzll(t); -#else - return __builtin_clzl(t); -#endif } static __inline__ uint32_t __attribute__((always_inline, nodebug)) -- 2.40.0