[Inliner] Handle 'no-signed-zeros-fp-math' function attribute.
authorMichele Scandale <michele.scandale@gmail.com>
Thu, 25 Jun 2020 00:47:03 +0000 (17:47 -0700)
committerAkira Hatanaka <ahatanaka@apple.com>
Thu, 25 Jun 2020 00:53:59 +0000 (17:53 -0700)
commit413a187856a6dde568df38ab755e68a1c8dda04b
tree4f57c69a20c4ccff344f4401f1f1452fc4e18298
parent06412dae82376c12bc64b944e6d21141313b5cf1
[Inliner] Handle 'no-signed-zeros-fp-math' function attribute.

All other floating point math optimization related attribute are merged
in a conservative way during function inlining. This commit adds the
merge rule for the 'no-signed-zeros-fp-math' attribute.

Differential Revision: https://reviews.llvm.org/D81714
llvm/include/llvm/IR/Attributes.td
llvm/test/Transforms/Inline/attributes.ll