| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Add vim scripts for indent/syntax - some of it has been adapted from LLVM's vim utils Signed-off-by: Uday Bondhugula <uday@polymagelabs.com> Closes tensorflow/mlir#90 COPYBARA_INTEGRATE_REVIEW=https://github.com/tensorflow/mlir/pull/90 from bondhugula:vim 22b1c958818c4b09de0ec8e1d7a4893171a03dbf PiperOrigin-RevId: 266071752 | 6 年前 | |
[vim] Improve iskeyword for MLIR (#121750) Define keywords for the MLIR syntax. This allows better recognition of semantic constructs such as SSA value identification e.g. %foo which gives improved motion handling when using 'word based' such as w, e. This is based on the work done for the LLVM IR in 8c46413f343d0a5b8db48d958890b9038f03b70d. Signed-off-by: Jack Frankland <jack.frankland@arm.com> | 1 年前 | |
Add vim scripts for indent/syntax - some of it has been adapted from LLVM's vim utils Signed-off-by: Uday Bondhugula <uday@polymagelabs.com> Closes tensorflow/mlir#90 COPYBARA_INTEGRATE_REVIEW=https://github.com/tensorflow/mlir/pull/90 from bondhugula:vim 22b1c958818c4b09de0ec8e1d7a4893171a03dbf PiperOrigin-RevId: 266071752 | 6 年前 | |
[MLIR][Math] Add erfc to math dialect (#126439) This patch adds the erfc op to the math dialect. It also does lowering of the math.erfc op to libm calls. There is also a f32 polynomial approximation for the function based on https://stackoverflow.com/questions/35966695/vectorizable-implementation-of-complementary-error-function-erfcf This is in turn based on M. M. Shepherd and J. G. Laframboise, "Chebyshev Approximation of (1+2x)exp(x^2)erfc x in 0 <= x < INF", Mathematics of Computation, Vol. 36, No. 153, January 1981, pp. 249-253. The code has a ULP error less than 3, which was tested, and MLIR test values were verified against the C implementation. | 1 年前 | |
[mlir][vim] Add comment for markdown highlighting Useful for local editing. | 4 年前 |