[PATCH] D64067: [X86][PPC] Support -mlong-double-64

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 3 20:37:45 PDT 2019


MaskRay updated this revision to Diff 207965.
MaskRay edited the summary of this revision.
MaskRay added a comment.

Add tests to check mangling of long double

-mlong-double-64 has no effect on gcc x86.
On gcc ppc, -mlong-double-64 changes the mangled type from 'g' (ibmlongdouble) to 'e'


Repository:
  rC Clang

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

https://reviews.llvm.org/D64067

Files:
  include/clang/Basic/LangOptions.def
  include/clang/Driver/Options.td
  lib/Basic/TargetInfo.cpp
  lib/Basic/Targets/PPC.h
  lib/Driver/ToolChains/Clang.cpp
  lib/Frontend/CompilerInvocation.cpp
  test/CodeGen/long-double-x86.c
  test/CodeGen/ppc64-align-long-double.c
  test/CodeGen/ppc64-long-double.cpp
  test/CodeGen/x86-long-double.cpp
  test/Driver/mlong-double-64.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64067.207965.patch
Type: text/x-patch
Size: 9300 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190704/f813aca7/attachment.bin>


More information about the cfe-commits mailing list