[all-commits] [llvm/llvm-project] d771cf: [PowerPC] Allow -mfloat128 option for VSX targets

Qiu Chaofan via All-commits all-commits at lists.llvm.org
Sun Jan 16 23:25:15 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d771cf277565f579aba24fef522355f4406323c9
      https://github.com/llvm/llvm-project/commit/d771cf277565f579aba24fef522355f4406323c9
  Author: Qiu Chaofan <qiucofan at cn.ibm.com>
  Date:   2022-01-17 (Mon, 17 Jan 2022)

  Changed paths:
    M clang/lib/Basic/Targets/PPC.cpp
    M clang/test/Driver/ppc-f128-support-check.c

  Log Message:
  -----------
  [PowerPC] Allow -mfloat128 option for VSX targets

Targets with VSX feature but without native float128 instructions can
also use that type with supplementary libcalls. We don't enable it by
default now because Glibc assumes long double and float128 can be
implicitly converted in between, which is not available under default
'ibmlongdouble' semantics in clang.

This commit partly relands cbd93ce.




More information about the All-commits mailing list