[PATCH] D27530: [builtin] for the condition for check __ARM_FEATURE_CLZ
Weiming Zhao via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 7 11:46:31 PST 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL288954: [builtin] for the condition for check __ARM_FEATURE_CLZ (authored by weimingz).
Changed prior to commit:
https://reviews.llvm.org/D27530?vs=80628&id=80633#toc
Repository:
rL LLVM
https://reviews.llvm.org/D27530
Files:
compiler-rt/trunk/lib/builtins/assembly.h
Index: compiler-rt/trunk/lib/builtins/assembly.h
===================================================================
--- compiler-rt/trunk/lib/builtins/assembly.h
+++ compiler-rt/trunk/lib/builtins/assembly.h
@@ -70,9 +70,8 @@
#if defined(__ARM_ARCH_4T__) || __ARM_ARCH >= 5
#define ARM_HAS_BX
#endif
-#if !defined(__ARM_FEATURE_CLZ) && \
- ((__ARM_ARCH >= 6 && __ARM_ARCH_PROFILE != 'M') || \
- (__ARM_ARCH == 5 && !defined(__ARM_ARCH_5__)))
+#if !defined(__ARM_FEATURE_CLZ) && __ARM_ARCH_ISA_THUMB != 1 && \
+ (__ARM_ARCH >= 6 || (__ARM_ARCH == 5 && !defined(__ARM_ARCH_5__)))
#define __ARM_FEATURE_CLZ
#endif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27530.80633.patch
Type: text/x-patch
Size: 712 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161207/b1c2e6ba/attachment.bin>
More information about the llvm-commits
mailing list