diff options
| author | Florian Hahn <flo@fhahn.com> | 2019-09-10 13:10:28 +0000 |
|---|---|---|
| committer | Florian Hahn <flo@fhahn.com> | 2019-09-10 13:10:28 +0000 |
| commit | 18a1f0818b659cee13865b4fad2648d85984a4ed (patch) | |
| tree | 95f558a6c7cf821acdd94f31dc5c0220ef1f8700 /llvm/lib/Transforms/Vectorize | |
| parent | 8886d0134eac27d9f4116bc39c7c4696321b9007 (diff) | |
| download | bcm5719-llvm-18a1f0818b659cee13865b4fad2648d85984a4ed.tar.gz bcm5719-llvm-18a1f0818b659cee13865b4fad2648d85984a4ed.zip | |
[InstCombine] Use SimplifyFMulInst to simplify multiply in fma.
This allows us to fold fma's that multiply with 0.0. Also, the
multiply by 1.0 case is handled there as well. The fneg/fabs cases
are not handled by SimplifyFMulInst, so we need to keep them.
Reviewers: spatel, anemet, lebedev.ri
Reviewed By: spatel
Differential Revision: https://reviews.llvm.org/D67351
llvm-svn: 371518
Diffstat (limited to 'llvm/lib/Transforms/Vectorize')
0 files changed, 0 insertions, 0 deletions

