summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/iterators
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2019-09-25 19:33:26 +0000
committerFlorian Hahn <flo@fhahn.com>2019-09-25 19:33:26 +0000
commitd663efe23a266d7b6dc1718324726777aa0baacd (patch)
treeb484ec7812dd27a17b4e7691d36bbb6dfb0b8c33 /libcxx/test/std/iterators
parent3a7da6a7df3431850308cfaf3c120228f49083c9 (diff)
downloadbcm5719-llvm-d663efe23a266d7b6dc1718324726777aa0baacd.tar.gz
bcm5719-llvm-d663efe23a266d7b6dc1718324726777aa0baacd.zip
[InstSimplify] Match 1.0 and 0.0 for both operands in SimplifyFMAMul
Because we do not constant fold multiplications in SimplifyFMAMul, we match 1.0 and 0.0 for both operands, as multiplying by them is guaranteed to produce an exact result (if it is allowed to do so). Note that it is not enough to just swap the operands to ensure a constant is on the RHS, as we want to also cover the case with 2 constants. Reviewers: lebedev.ri, spatel, reames, scanon Reviewed By: lebedev.ri, reames Differential Revision: https://reviews.llvm.org/D67553 llvm-svn: 372915
Diffstat (limited to 'libcxx/test/std/iterators')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud