[PATCH] D72701: [Hexagon] Add support for Linux/Musl ABI.

Sid Manning via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 17 10:13:33 PST 2020


sidneym updated this revision to Diff 238816.
sidneym retitled this revision from "[Hexagon] Add support for Linux ABI." to "[Hexagon] Add support for Linux/Musl ABI.".
sidneym added a comment.

Update code to check for the Musl environment.

Checking OS was too vague and could result in this ABI being unexpectedly enabled if the triple was not set and the host tools were built for Linux.  Musl is the only C-library currently used by Hexagon Linux so
that is the check I'm using to enable the ABI.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D72701

Files:
  llvm/lib/Target/Hexagon/HexagonFrameLowering.cpp
  llvm/lib/Target/Hexagon/HexagonFrameLowering.h
  llvm/lib/Target/Hexagon/HexagonISelLowering.cpp
  llvm/lib/Target/Hexagon/HexagonISelLowering.h
  llvm/lib/Target/Hexagon/HexagonMachineFunctionInfo.h
  llvm/lib/Target/Hexagon/HexagonSubtarget.cpp
  llvm/lib/Target/Hexagon/HexagonSubtarget.h
  llvm/test/CodeGen/Hexagon/vacopy.ll
  llvm/test/CodeGen/Hexagon/vararg-deallocate-sp.ll
  llvm/test/CodeGen/Hexagon/vararg-linux-abi.ll
  llvm/test/CodeGen/Hexagon/vararg.ll
  llvm/test/CodeGen/Hexagon/vararg_align_check.ll
  llvm/test/CodeGen/Hexagon/vararg_double_onstack.ll
  llvm/test/CodeGen/Hexagon/vararg_named.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72701.238816.patch
Type: text/x-patch
Size: 65810 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200117/e697a484/attachment.bin>


More information about the llvm-commits mailing list