diff options
author | Qiu Chaofan <qiucofan@cn.ibm.com> | 2022-03-07 13:00:06 +0800 |
---|---|---|
committer | Qiu Chaofan <qiucofan@cn.ibm.com> | 2022-03-07 13:00:06 +0800 |
commit | b2497e54356d454d0e16d8f44086bf6db6aff0e3 (patch) | |
tree | 898b2d2c1ece45a9d29a8235a0c149f67a510440 /clang/lib/Basic/Module.cpp | |
parent | ff758372bd51840b4f566968fb0929d19557dd9b (diff) | |
download | llvm-b2497e54356d454d0e16d8f44086bf6db6aff0e3.zip llvm-b2497e54356d454d0e16d8f44086bf6db6aff0e3.tar.gz llvm-b2497e54356d454d0e16d8f44086bf6db6aff0e3.tar.bz2 |
[PowerPC] Add generic fnmsub intrinsic
Currently in Clang, we have two types of builtins for fnmsub operation:
one for float/double vector, they'll be transformed into IR operations;
one for float/double scalar, they'll generate corresponding intrinsics.
But for the vector version of builtin, the 3 op chain may be recognized
as expensive by some passes (like early cse). We need some way to keep
the fnmsub form until code generation.
This patch introduces ppc.fnmsub.* intrinsic to unify four fnmsub
intrinsics.
Reviewed By: shchenz
Differential Revision: https://reviews.llvm.org/D116015
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions