[llvm-bugs] [Bug 33030] ARM: Builtins should use AAPCS ABI for non-windows platforms

via llvm-bugs llvm-bugs at lists.llvm.org
Mon May 15 10:02:16 PDT 2017


https://bugs.llvm.org/show_bug.cgi?id=33030

Saleem Abdulrasool <compnerd at compnerd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #4 from Saleem Abdulrasool <compnerd at compnerd.org> ---
The ABI definition here is correct.  When targeting
`arm*-unknown-linux-gnueabi`, the CC should be `AAPCS`.  However, when
targeting `arm*-unknown-linux-gnueabihf` the CC should be `AAPCS VFP`.  We
adjust the CC in the backend during the ISelLowering setup.  FWIW, this matches
the behaviour of GCC, and is needed for compatibility.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170515/094a8bc7/attachment.html>


More information about the llvm-bugs mailing list