[PATCH] [ARM] Use AEABI aligned function variants

Jonathan Roelofs jonathan at codesourcery.com
Mon May 11 11:02:47 PDT 2015


REPOSITORY
  rL LLVM

================
Comment at: lib/Target/ARM/ARMSelectionDAGInfo.cpp:42
@@ +41,3 @@
+  // Libcall is an AEABI function.
+  if (std::strncmp(TLI->getLibcallName(LC), "__aeabi", 7) != 0)
+    return SDValue();
----------------
I think @asl is suggesting:

```
if (!Subtarget.isAAPCS_ABI() ||
    std::strncmp(TLI->getLibcallName(LC), "__aeabi", 7) != 0)
```

here.

http://reviews.llvm.org/D8060

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list