[all-commits] [llvm/llvm-project] 2e4c11: [PowerPC] Disable CTR Loop generate for fma with t...
kiranchandramohan via All-commits
all-commits at lists.llvm.org
Tue Aug 17 20:22:38 PDT 2021
Branch: refs/heads/release/13.x
Home: https://github.com/llvm/llvm-project
Commit: 2e4c11ee320941e9836564a96d89d92f79d38021
https://github.com/llvm/llvm-project/commit/2e4c11ee320941e9836564a96d89d92f79d38021
Author: Amy Kwan <amy.kwan1 at ibm.com>
Date: 2021-08-17 (Tue, 17 Aug 2021)
Changed paths:
M llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
A llvm/test/CodeGen/PowerPC/disable-ctr-ppcf128.ll
Log Message:
-----------
[PowerPC] Disable CTR Loop generate for fma with the PPC double double type.
It is possible to generate the llvm.fmuladd.ppcf128 intrinsic, and there is no actual
FMA instruction that corresponds to this intrinsic call for ppcf128. Thus, this
intrinsic needs to remain as a call as it cannot be lowered to any instruction, which
also means we need to disable CTR loop generation for fma involving the ppcf128 type.
This patch accomplishes this behaviour.
Differential Revision: https://reviews.llvm.org/D107914
(cherry picked from commit 581a80304c671b6cb2b1b1f87feb9fbe14875f2a)
Commit: 0c25e0174861548ade7cd34671067adbcc0ce5a9
https://github.com/llvm/llvm-project/commit/0c25e0174861548ade7cd34671067adbcc0ce5a9
Author: Kiran Chandramohan <kiran.chandramohan at arm.com>
Date: 2021-08-17 (Tue, 17 Aug 2021)
Changed paths:
M flang/runtime/time-intrinsic.cpp
Log Message:
-----------
[Flang] Fix build failure on MacOS
std::clock_t can be an unsigned value on some platforms like MacOS and
therefore needs a cast when initializing an std::clock_t value with -1.
Reviewed By: klausler
Differential Revision: https://reviews.llvm.org/D107972
(cherry picked from commit 4573c31f8945071d0069dcad31e17ddfeb7a2d8c)
Compare: https://github.com/llvm/llvm-project/compare/08dd644d078a...0c25e0174861
More information about the All-commits
mailing list