[all-commits] [llvm/llvm-project] d48027: [ADT][Triple] Add environment kinds for LoongArch ...
WÁNG Xuěruì via All-commits
all-commits at lists.llvm.org
Wed Nov 9 23:05:32 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d480271729236fa194ceddde420f37527a466270
https://github.com/llvm/llvm-project/commit/d480271729236fa194ceddde420f37527a466270
Author: WANG Xuerui <git at xen0n.name>
Date: 2022-11-10 (Thu, 10 Nov 2022)
Changed paths:
M llvm/include/llvm/ADT/Triple.h
M llvm/lib/Support/Triple.cpp
M llvm/unittests/ADT/TripleTest.cpp
Log Message:
-----------
[ADT][Triple] Add environment kinds for LoongArch GNU multiarch tuples
The canonical multiarch tuples for LoongArch are defined in [the
LoongArch toolchain conventions][1] document. As the musl port is still
WIP, only the GNU triples are added for now.
The spec mentions `loongarch64-linux-gnuf64`, which is functionally the
same as the existing `loongarch64-linux-gnu` triple, only with the
floating-point ABI part explicitly spelled out. Both forms are
supported, but normalization of one into another is not implemented in
this patch, to give the ecosystem some time to experiment and discuss.
[1]: https://loongson.github.io/LoongArch-Documentation/LoongArch-toolchain-conventions-EN.html
Reviewed By: MaskRay
Differential Revision: https://reviews.llvm.org/D135751
More information about the All-commits
mailing list