[compiler-rt] r365957 - [builtins] Fix assembly in arm sync-ops.h
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 12 13:52:03 PDT 2019
Author: nikic
Date: Fri Jul 12 13:52:02 2019
New Revision: 365957
URL: http://llvm.org/viewvc/llvm-project?rev=365957&view=rev
Log:
[builtins] Fix assembly in arm sync-ops.h
This assembly is part of a macro that was reformatted in D60351.
The missing space between push and { results in:
Error: bad instruction `push{r4, r5,r6,lr}'
Modified:
compiler-rt/trunk/lib/builtins/arm/sync-ops.h
Modified: compiler-rt/trunk/lib/builtins/arm/sync-ops.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/sync-ops.h?rev=365957&r1=365956&r2=365957&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/sync-ops.h (original)
+++ compiler-rt/trunk/lib/builtins/arm/sync-ops.h Fri Jul 12 13:52:02 2019
@@ -34,7 +34,7 @@
.thumb; \
.syntax unified; \
DEFINE_COMPILERRT_THUMB_FUNCTION(__sync_fetch_and_##op) \
- push{r4, r5, r6, lr}; \
+ push {r4, r5, r6, lr}; \
dmb; \
mov r12, r0; \
LOCAL_LABEL(tryatomic_##op) : ldrexd r0, r1, [r12]; \
More information about the llvm-commits
mailing list