[PATCH] D12091: [compiler-rt] Add libgcc compatibility aliases for __cmp{s, d, f}f2.

Saleem Abdulrasool via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 18 19:53:15 PDT 2015


compnerd accepted this revision.
This revision is now accepted and ready to land.

================
Comment at: lib/builtins/comparedf2.c:83
@@ -82,1 +82,3 @@
 
+// Alias for libgcc compatibility
+FNALIAS(__cmpdf2, __ledf2);
----------------
Use /* */, since I don't believe we are forcing C99.  Similar throughout.

================
Comment at: lib/builtins/int_lib.h:23
@@ -22,1 +22,3 @@
 
+#define FNALIAS(alias_name, original_name)         \
+  void alias_name() __attribute__((alias(#original_name)))
----------------
clang-format this line please.


http://reviews.llvm.org/D12091





More information about the llvm-commits mailing list