Files
clang-p2996/mlir/test/Conversion/MathToSPIRV
Daniel Garvey 58839f2e29 [spirv][math] Fix sign propagation for math.powf conversion
For `x^y`, the result's sign should consider whether `y` is
an integer and whether it's odd or even.

This still does not cover all corner cases regarding `x^y`
but it's an improvement over the current implementation.

Reviewed By: antiagainst, qedawkins

Differential Revision: https://reviews.llvm.org/D150234
2023-05-09 21:44:09 -07:00
..