diff options
author | Ana Pazos <apazos@quicinc.com> | 2019-02-11 22:10:08 +0000 |
---|---|---|
committer | Ana Pazos <apazos@quicinc.com> | 2019-02-11 22:10:08 +0000 |
commit | 9a3dc3e60bf0ae9ca9aa618d4805fb364bf0220a (patch) | |
tree | 3af627c45aa5cec4d0ceea8e4e497d34b7739442 /llvm/lib/CodeGen/MachineVerifier.cpp | |
parent | 016833bac2da972c1c9753cde2ff949e06dc5908 (diff) | |
download | bcm5719-llvm-9a3dc3e60bf0ae9ca9aa618d4805fb364bf0220a.tar.gz bcm5719-llvm-9a3dc3e60bf0ae9ca9aa618d4805fb364bf0220a.zip |
[LegalizeTypes] Expand FNEG to bitwise op for IEEE FP types
Summary:
Except for custom floating point types x86_fp80 and ppc_fp128,
expand Y = FNEG(X) to Y = X ^ sign mask to avoid library call.
Using bitwise operation can improve code size and performance.
Reviewers: efriedma
Reviewed By: efriedma
Subscribers: efriedma, kpn, arsenm, eli.friedman, javed.absar, rbar, johnrusso, simoncook, sabuasal, niosHD, zzheng, edward-jones, rogfer01, MartinMosbeck, brucehoult, the_o, PkmX, jocewei, asb, llvm-commits
Differential Revision: https://reviews.llvm.org/D57875
llvm-svn: 353757
Diffstat (limited to 'llvm/lib/CodeGen/MachineVerifier.cpp')
0 files changed, 0 insertions, 0 deletions