]> granicus.if.org Git - clang/commitdiff
arm_acle.h: Small cleanup
authorYi Kong <Yi.Kong@arm.com>
Fri, 15 Aug 2014 08:53:22 +0000 (08:53 +0000)
committerYi Kong <Yi.Kong@arm.com>
Fri, 15 Aug 2014 08:53:22 +0000 (08:53 +0000)
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

index 286bc20e1236dc05f626f7f4524bcdbc16c81a49..110884b3b872f4fa9b0a160c2b2107525e411d1d 100644 (file)
@@ -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))