[PATCH] D11437: Correct x86_64 fp128 calling convention

Chih-Hung Hsieh chh at google.com
Thu Jul 23 13:48:44 PDT 2015


chh retitled this revision from "Correct x86_64 fp128 mangled name and return/varargs types
" to "Correct x86_64 fp128 calling convention".
chh updated the summary for this revision.
chh updated this revision to Diff 30523.
chh added a comment.
Herald added a subscriber: jfb.

Change conditions from

  CGT.ConvertType(RetTy)->isFP128Ty()

to

  BT->getKind() == BuiltinType::LongDouble &&
  &getTarget().getLongDoubleFormat() == &llvm::APFloat::IEEEquad

Use %clang_cc1 in unit tests.
Some checked IL output still depends on -O.


http://reviews.llvm.org/D11437

Files:
  lib/CodeGen/TargetInfo.cpp
  test/CodeGen/x86_64-fp128.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11437.30523.patch
Type: text/x-patch
Size: 6834 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150723/5fe6792a/attachment.bin>


More information about the cfe-commits mailing list