r215697 - arm_acle.h: Small cleanup
Yi Kong
Yi.Kong at arm.com
Fri Aug 15 01:53:22 PDT 2014
Author: kongyi
Date: Fri Aug 15 03:53:22 2014
New Revision: 215697
URL: http://llvm.org/viewvc/llvm-project?rev=215697&view=rev
Log:
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.
Modified:
cfe/trunk/lib/Headers/arm_acle.h
Modified: cfe/trunk/lib/Headers/arm_acle.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Headers/arm_acle.h?rev=215697&r1=215696&r2=215697&view=diff
==============================================================================
--- cfe/trunk/lib/Headers/arm_acle.h (original)
+++ cfe/trunk/lib/Headers/arm_acle.h Fri Aug 15 03:53:22 2014
@@ -108,11 +108,7 @@ static __inline__ unsigned long __attrib
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))
More information about the cfe-commits
mailing list