forked from OSchip/llvm-project
e27197f360
spv.Ordered/spv.Unordered are meant for OpenCL Kernel capability. For Vulkan Shader capability, we should use spv.IsNan to check whether a number is NaN. Add a new pattern for converting `std.cmpf ord|uno` to spv.IsNan and bumped the pattern converting to spv.Ordered/spv.Unordered to a higher benefit. The SPIR-V target environment will properly select between these two patterns. Reviewed By: mravishankar Differential Revision: https://reviews.llvm.org/D95237 |
||
---|---|---|
.. | ||
arithmetic-ops.mlir | ||
array.mlir | ||
atomic-ops.mlir | ||
barrier-ops.mlir | ||
bit-ops.mlir | ||
cast-ops.mlir | ||
composite-op.mlir | ||
constant.mlir | ||
cooperative-matrix-ops.mlir | ||
debug.mlir | ||
decorations.mlir | ||
entry-point.mlir | ||
execution-mode.mlir | ||
function-call.mlir | ||
global-variable.mlir | ||
glsl-ops.mlir | ||
group-ops.mlir | ||
logical-ops.mlir | ||
loop.mlir | ||
matrix.mlir | ||
memory-ops.mlir | ||
module.mlir | ||
non-uniform-ops.mlir | ||
ocl-ops.mlir | ||
phi.mlir | ||
selection.mlir | ||
spec-constant.mlir | ||
struct.mlir | ||
terminator.mlir | ||
undef.mlir |