llvm-project/mlir/test/Dialect
Emilio Cota 1c0374e770 [mlir] Add polynomial approximation for math::Log1p
This approximation matches the one in Eigen.

```
name                      old cpu/op  new cpu/op  delta
BM_mlir_Log1p_f32/10      83.2ns ± 7%  34.8ns ± 5%  -58.19%    (p=0.000 n=84+71)
BM_mlir_Log1p_f32/100      664ns ± 4%   129ns ± 4%  -80.57%    (p=0.000 n=82+82)
BM_mlir_Log1p_f32/1k      6.75µs ± 4%  0.81µs ± 3%  -88.07%    (p=0.000 n=88+79)
BM_mlir_Log1p_f32/10k     76.5µs ± 3%   7.8µs ± 4%  -89.84%    (p=0.000 n=80+80)
BM_eigen_s_Log1p_f32/10   70.1ns ±14%  72.6ns ±14%   +3.49%  (p=0.000 n=116+112)
BM_eigen_s_Log1p_f32/100   706ns ± 9%   717ns ± 3%   +1.60%   (p=0.018 n=117+80)
BM_eigen_s_Log1p_f32/1k   8.26µs ± 1%  8.26µs ± 1%     ~       (p=0.567 n=84+86)
BM_eigen_s_Log1p_f32/10k  92.1µs ± 5%  92.6µs ± 6%   +0.60%  (p=0.047 n=115+115)
BM_eigen_v_Log1p_f32/10   31.8ns ±24%  34.9ns ±17%   +9.72%    (p=0.000 n=98+96)
BM_eigen_v_Log1p_f32/100   169ns ±10%   177ns ± 5%   +4.66%   (p=0.000 n=119+81)
BM_eigen_v_Log1p_f32/1k   1.42µs ± 4%  1.46µs ± 8%   +2.70%   (p=0.000 n=93+113)
BM_eigen_v_Log1p_f32/10k  14.4µs ± 5%  14.9µs ± 8%   +3.61%  (p=0.000 n=115+110)
```

Reviewed By: ezhulenev, ftynse

Differential Revision: https://reviews.llvm.org/D101765
2021-05-03 15:11:37 -07:00
..
AMX Update syntax for amx.tile_muli to use two Unit attr to mark the zext case 2021-03-20 04:12:24 +00:00
Affine [mlir] [affine] add canonicalization for affine.vector_load, vector_store 2021-05-02 09:06:46 +05:30
ArmNeon Add arm_neon.sdot operation 2021-03-17 08:24:58 -07:00
ArmSVE [mlir][ArmSVE] Cleanup dialect registration 2021-04-16 15:56:51 +02:00
Async [mlir] Async: add automatic reference counting at async.runtime operations level 2021-04-12 18:54:55 -07:00
Builtin [mlir] Add a new builtin `unrealized_conversion_cast` operation 2021-01-20 16:28:18 -08:00
Complex [mlir] Add `complex.abs`, `complex.div` and `complex.mul` to ComplexOps. 2021-01-19 12:09:59 +01:00
DLTI [mlir] support data layout specs on ModuleOp 2021-03-24 15:13:38 +01:00
GPU [MLIR] Create memref dialect and move dialect-specific ops from std. 2021-03-15 11:14:09 +01:00
LLVMIR [MLIR] Handle llvm.icmp of pointers 2021-05-02 01:17:50 -04:00
Linalg [mlir][Linalg] Add a utility method to get reassociations maps for reshape. 2021-05-03 14:40:15 -07:00
Math [mlir] Add polynomial approximation for math::Log1p 2021-05-03 15:11:37 -07:00
MemRef [mlir][Linalg] Use rank-reduced versions of subtensor and subtensor insert when possible. 2021-05-03 12:51:24 -07:00
OpenACC [MLIR] Create memref dialect and move dialect-specific ops from std. 2021-03-15 11:14:09 +01:00
OpenMP [MLIR][OpenMP] Pretty printer and parser for omp.wsloop 2021-03-18 13:37:01 +00:00
PDL [mlir][PDL] Add support for variadic operands and results in PDL 2021-03-16 13:20:18 -07:00
PDLInterp [mlir][PDL] Add support for variadic operands and results in the PDL Interpreter 2021-03-16 13:20:19 -07:00
Quant [testsuite] Make testsuite more stable vs canonicalization change. NFC. 2021-03-19 18:11:12 -07:00
SCF [MLIR] Add SCF.if Condition Canonicalizations 2021-04-26 20:13:08 -04:00
SPIRV [mlir][spirv] Define spv.ImageDrefGather operation 2021-04-08 20:15:54 -04:00
Shape Revert "[MLIR][Shape] Concretize broadcast result type if possible" 2021-04-28 17:16:02 +02:00
SparseTensor [mlir][sparse] sparse tensor type encoding migration (new home, new builders) 2021-04-30 19:30:38 -07:00
Standard [MLIR] Canonicalize sub/add of a constant and another sub/add of a constant 2021-05-03 11:49:23 -04:00
Tensor [mlir][sparse] sparse tensor type encoding migration (new home, new builders) 2021-04-30 19:30:38 -07:00
Tosa [mlir][tosa] TOSA MLIR dialect update to v0.22, part 1 2021-03-25 21:34:34 -07:00
Vector [mlir][vector] Extend vector transfer unrolling to support permutations and broadcast 2021-05-03 10:47:02 -07: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] Generalize broadcastable trait operands 2020-01-20 13:02:14 -08:00