llvm-project/mlir/test/Dialect
Christian Sigg be1aeb818c Remove NaN constant from arith.minf, arith.maxf expansion
If any of the operands is NaN, return the operand instead of a new constant.

When the rhs operand is a constant, the second arith.cmpf+select ops will be folded away.

https://reviews.llvm.org/D117010 marks the two ops commutative, which will place the constant on the rhs.

Reviewed By: herhut

Differential Revision: https://reviews.llvm.org/D117011
2022-01-12 20:56:40 +01:00
..
AMX [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
Affine Multiple fixes to affine loop tiling return status and checks 2022-01-08 16:50:44 +05:30
Arithmetic Remove NaN constant from arith.minf, arith.maxf expansion 2022-01-12 20:56:40 +01:00
ArmNeon 2d Arm Neon sdot op, and lowering to the intrinsic. 2021-06-10 14:36:39 -07:00
ArmSVE [mlir][RFC] Add scalable dimensions to VectorType 2021-12-15 09:31:37 +00:00
Async Make AsyncParallelForRewrite parameterizable with a cost model which drives deciding the parallelization granularity. 2021-12-19 08:41:01 -08:00
Bufferization [mlir] Add InlinerInterface to bufferization dialect 2021-12-04 23:45:56 +03:00
Builtin [mlir][RFC] Add scalable dimensions to VectorType 2021-12-15 09:31:37 +00:00
Complex [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
DLTI [mlir] support data layout specs on ModuleOp 2021-03-24 15:13:38 +01:00
EmitC [mlir] Fix printing of EmitC attrs/types with escape characters 2021-09-15 18:15:38 +00:00
GPU [mlir][GPU] Fix attribute name of DL specification 2022-01-11 08:30:52 +00:00
LLVMIR [MLIR][LLVM] Add memoryeffect for alloca 2022-01-12 01:53:24 -05:00
Linalg [mlir][linalg][bufferize] Add pass options for `createDeallocs` 2022-01-12 18:55:36 +09:00
Math [MLIR][Math] Enable constant folding of ops 2022-01-12 12:19:29 -05:00
MemRef [mlir][memref] Tighten verification of memref.reinterpret_cast 2022-01-10 11:55:47 +01:00
OpenACC [mlir] Flag near misses in file splitting 2021-12-12 08:03:30 -08:00
OpenMP [mlir][OpenMP] Change the syntax of omp.atomic.read op 2022-01-10 16:19:45 +05:30
PDL [MLIR][PDL] Generalize result type verification 2022-01-04 08:11:46 +05:30
PDLInterp Defines new PDLInterp operations needed for multi-root matching in PDL. 2021-11-26 17:59:22 +05:30
Quant [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
SCF [MLIR][SCF] Remove unused arguments to whileop 2022-01-11 20:18:08 -05:00
SPIRV [mlir] Move trait to InferTypeOpInterface 2021-11-21 14:41:12 -08:00
Shape [mlir] Flag near misses in file splitting 2021-12-12 08:03:30 -08:00
SparseTensor [mlir][sparse] adding OverheadType::kIndex 2022-01-04 16:15:54 -08:00
Standard [MLIR] Generalize select to arithmetic canonicalization 2022-01-10 11:50:17 -05:00
Tensor [mlir][MemRef] Deprecate unspecified trailing offset, size, and strides semantics of `OffsetSizeAndStrideOpInterface`. 2021-12-29 11:18:29 -08:00
Tosa [mlir][tosa] Allow optional TOSA decompositions to be populated separately 2022-01-11 10:26:30 -08:00
Vector [mlir][vector] Add folding for extract + extract/insert_strided 2022-01-12 11:48:35 -08:00
X86Vector [mlir][vector][avx] add AVX dot product to X86Vector dialect with lowering 2021-04-15 15:01:39 -07:00
traits.mlir [mlir] Fix broadcasting check with 1 values 2021-07-11 20:41:33 -07:00