diff options
author | Weining Lu <luweining@loongson.cn> | 2022-10-27 20:28:56 +0800 |
---|---|---|
committer | gonglingqin <gonglingqin@loongson.cn> | 2022-11-10 17:27:28 +0800 |
commit | 135a9272a4c99b7f960086d0bf9d7e7da4c0396d (patch) | |
tree | 5ccb8b8fbe2ce167358a0ae25d7f7c89f32621e7 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | 098e20134af5d32a73bd124ca3ce001baa569cab (diff) | |
download | llvm-135a9272a4c99b7f960086d0bf9d7e7da4c0396d.zip llvm-135a9272a4c99b7f960086d0bf9d7e7da4c0396d.tar.gz llvm-135a9272a4c99b7f960086d0bf9d7e7da4c0396d.tar.bz2 |
[Clang][LoongArch] Handle -march/-m{single,double,soft}-float/-mfpu options
This patch adds options -march, -msingle-float, -mdouble-float,
-msoft-float and -mfpu for LoongArch.
Clang options `msingle_float` and `mdouble_float` are moved from
`m_mips_Features_Group` to `m_Group` because now more than targets use
them.
Reference:
https://github.com/loongson/LoongArch-Documentation/blob/main/docs/LoongArch-toolchain-conventions-EN.adoc
TODO: add -mtune.
Differential Revision: https://reviews.llvm.org/D136146
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
0 files changed, 0 insertions, 0 deletions