[PATCH] D92080: [Clang] Mutate long-double math builtins into f128 under IEEE-quad

Qiu Chaofan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 25 00:51:53 PST 2020


qiucf created this revision.
qiucf added reviewers: craig.topper, spatel, nemanjai, jsji, steven.zhang, PowerPC, kpn, RKSimon.
Herald added subscribers: cfe-commits, pengfei.
Herald added a project: clang.
qiucf requested review of this revision.

Under `-mlong-double-128` on x86 and `-mabi=ieeelongdouble` on PowerPC, IEEE-quad floating point semantic is used for `long double`. This patch mutates call to related builtins into `f128` version.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D92080

Files:
  clang/lib/CodeGen/CGBuiltin.cpp
  clang/test/CodeGen/math-builtins-adjust.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92080.307532.patch
Type: text/x-patch
Size: 15612 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201125/8f29359d/attachment-0001.bin>


More information about the cfe-commits mailing list