[PATCH] D153707: [Clang][LoongArch] Consume and check -mabi and -mfpu even if -m*-float is present

WÁNG Xuěruì via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jun 25 22:39:21 PDT 2023


xen0n updated this revision to Diff 534427.
xen0n marked an inline comment as done.
xen0n added a comment.

Unify the diagnostic messages and show the actual `-m*-float` option being passed.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D153707

Files:
  clang/include/clang/Basic/DiagnosticDriverKinds.td
  clang/lib/Driver/ToolChains/Arch/LoongArch.cpp
  clang/test/Driver/loongarch-mdouble-float.c
  clang/test/Driver/loongarch-msingle-float.c
  clang/test/Driver/loongarch-msoft-float.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153707.534427.patch
Type: text/x-patch
Size: 8173 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230626/7682ec25/attachment-0001.bin>


More information about the cfe-commits mailing list