Fix incompatible assembly in ARM builtins library
authorRenato Golin <renato.golin@linaro.org>
Tue, 22 Jul 2014 20:59:41 +0000 (20:59 +0000)
committerRenato Golin <renato.golin@linaro.org>
Tue, 22 Jul 2014 20:59:41 +0000 (20:59 +0000)
commit8c714213d5fd311541962580b7d7d9dd40fc788b
tree1b06a2a4883d4401000997c2165cda5150acdbd4
parentaad0347c8b04d2b86d267f48cd3fd084f7d38100
Fix incompatible assembly in ARM builtins library

Convert the CBNZ backward branch instruction to CMP and BNE
avoiding illegal backwards branch and making the assembly code
in synh-ops.h to be UAL compliant.

Patch by: Sumanth Gundapaneni

llvm-svn: 213685
compiler-rt/lib/builtins/arm/sync-ops.h