[PowerPC] Treat llvm.fmuladd intrinsic as using CTR
authorQiu Chaofan <qiucofan@cn.ibm.com>
Wed, 18 May 2022 07:55:02 +0000 (15:55 +0800)
committerQiu Chaofan <qiucofan@cn.ibm.com>
Wed, 18 May 2022 07:57:55 +0000 (15:57 +0800)
commitd9d15af7873fe16d7a0dde4def30f40fa9901777
treee30131932dd71ed04e5dea2f63249e4bf5ab3915
parent7814b559bd5e1dbb3c016b393068698bc5781cc5
[PowerPC] Treat llvm.fmuladd intrinsic as using CTR

This fixes bug 55463, similar to D78668. This is a temporary fix since
we will switch to post-isel CTR loop determination in the future.

Reviewed By: dim, shchenz

Differential Revision: https://reviews.llvm.org/D125746
llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
llvm/test/CodeGen/PowerPC/pr55463.ll [new file with mode: 0644]