[PATCH] D60805: [builtins] Add __cmpsf2 for ARM version of comparesf2

Yi Kong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 16 18:29:26 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL358542: [builtins] Add __cmpsf2 for ARM version of comparesf2 (authored by kongyi, committed by ).
Herald added a subscriber: delcypher.

Changed prior to commit:
  https://reviews.llvm.org/D60805?vs=195487&id=195501#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D60805/new/

https://reviews.llvm.org/D60805

Files:
  compiler-rt/trunk/lib/builtins/arm/comparesf2.S


Index: compiler-rt/trunk/lib/builtins/arm/comparesf2.S
===================================================================
--- compiler-rt/trunk/lib/builtins/arm/comparesf2.S
+++ compiler-rt/trunk/lib/builtins/arm/comparesf2.S
@@ -175,6 +175,11 @@
 DEFINE_COMPILERRT_FUNCTION_ALIAS(__ltsf2, __eqsf2)
 DEFINE_COMPILERRT_FUNCTION_ALIAS(__nesf2, __eqsf2)
 
+#if defined(__ELF__)
+// Alias for libgcc compatibility
+DEFINE_COMPILERRT_FUNCTION_ALIAS(__cmpsf2, __lesf2)
+#endif
+
 @ int __gtsf2(float a, float b)
 
     .p2align 2


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60805.195501.patch
Type: text/x-patch
Size: 525 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190417/96192b97/attachment.bin>


More information about the llvm-commits mailing list