llvm-project/mlir/test/Conversion/MathToLLVM
Jeff Niu 7d9fc95b85 [mlir][math] Add `math.absi` op
Adds an integer absolute value op to the math dialect.

When converting to LLVM, this op is lowered to the LLVM `abs` intrinsic.
When converting to SPIRV, this op is lowered to `spv.GL.SAbs`.

Depends on D131325

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D131327
2022-08-08 11:05:01 -04:00
..
math-to-llvm.mlir [mlir][math] Add `math.absi` op 2022-08-08 11:05:01 -04:00