Page MenuHomePhabricator
Feed Advanced Search

Wed, May 5

ezhulenev committed rG3c952ab25fb8: [mlir] Check generated IR of math_polynomial_approx.mlir (authored by cota).
[mlir] Check generated IR of math_polynomial_approx.mlir
Wed, May 5, 4:43 PM
ezhulenev closed D101940: [mlir] Check generated IR of math_polynomial_approx.mlir.
Wed, May 5, 4:43 PM · Restricted Project
ezhulenev committed rG0edc4bc84aa2: [mlir] Add polynomial approximation for math::ExpM1 (authored by cota).
[mlir] Add polynomial approximation for math::ExpM1
Wed, May 5, 2:31 PM
ezhulenev closed D101852: [mlir] Add polynomial approximation for math::ExpM1.
Wed, May 5, 2:31 PM · Restricted Project
ezhulenev accepted D101852: [mlir] Add polynomial approximation for math::ExpM1.
Wed, May 5, 2:27 PM · Restricted Project
ezhulenev added inline comments to D101852: [mlir] Add polynomial approximation for math::ExpM1.
Wed, May 5, 5:35 AM · Restricted Project

Mon, May 3

ezhulenev committed rG9b67096fe952: [mlir] Linalg: add vector transfer lowering patterns to the contraction lowering (authored by ezhulenev).
[mlir] Linalg: add vector transfer lowering patterns to the contraction lowering
Mon, May 3, 4:22 PM
ezhulenev closed D101795: [mlir] Linalg: add vector transfer lowering patterns to the contraction lowering.
Mon, May 3, 4:22 PM · Restricted Project
ezhulenev updated the summary of D101795: [mlir] Linalg: add vector transfer lowering patterns to the contraction lowering.
Mon, May 3, 4:07 PM · Restricted Project
ezhulenev requested review of D101795: [mlir] Linalg: add vector transfer lowering patterns to the contraction lowering.
Mon, May 3, 4:06 PM · Restricted Project
ezhulenev committed rG1c0374e77095: [mlir] Add polynomial approximation for math::Log1p (authored by cota).
[mlir] Add polynomial approximation for math::Log1p
Mon, May 3, 3:11 PM
ezhulenev closed D101765: [mlir] Add polynomial approximation for math::Log1p.
Mon, May 3, 3:11 PM · Restricted Project
ezhulenev accepted D101765: [mlir] Add polynomial approximation for math::Log1p.
Mon, May 3, 12:17 PM · Restricted Project

Thu, Apr 29

ezhulenev accepted D101531: [mlir] Fix lowering of multi-dimensional vector log1p to LLVM.
Thu, Apr 29, 12:46 PM · Restricted Project

Mon, Apr 26

ezhulenev added a comment to D93592: [mlir] Async: lowering async.value to LLVM.

Can the problem be in calculation of the value storage size? (https://github.com/llvm/llvm-project/blob/d480f968ad8b56d3ee4a6b6df5532d485b0ad01e/mlir/lib/Conversion/AsyncToLLVM/AsyncToLLVM.cpp#L518-L542) I'd check what the value of size passed in here: https://github.com/llvm/llvm-project/blob/main/mlir/lib/ExecutionEngine/AsyncRuntime.cpp#L205-L208

Mon, Apr 26, 10:42 AM · Restricted Project

Wed, Apr 21

ezhulenev committed rG3f1e827abd7f: [mlir] Linalg : do not forward memrefs to outputs when do bufferization (authored by ezhulenev).
[mlir] Linalg : do not forward memrefs to outputs when do bufferization
Wed, Apr 21, 4:39 PM
ezhulenev closed D100921: [mlir] Linalg : do not forward memrefs to outputs when do bufferization.
Wed, Apr 21, 4:39 PM · Restricted Project
ezhulenev retitled D100921: [mlir] Linalg : do not forward memrefs to outputs when do bufferization from [mlir] Linalg : clone output buffers allocated by AllocOp to [mlir] Linalg : do not forward memrefs to outputs when do bufferization.
Wed, Apr 21, 3:54 PM · Restricted Project
ezhulenev updated the diff for D100921: [mlir] Linalg : do not forward memrefs to outputs when do bufferization.

Do not forward memrefs to outputs when do bufferization

Wed, Apr 21, 3:53 PM · Restricted Project

Tue, Apr 20

ezhulenev updated the summary of D100921: [mlir] Linalg : do not forward memrefs to outputs when do bufferization.
Tue, Apr 20, 7:52 PM · Restricted Project
ezhulenev requested review of D100921: [mlir] Linalg : do not forward memrefs to outputs when do bufferization.
Tue, Apr 20, 7:50 PM · Restricted Project

Tue, Apr 13

ezhulenev committed rG8a316b00d63d: [mlir] Convert async dialect passes from function passes to op agnostic passes (authored by ezhulenev).
[mlir] Convert async dialect passes from function passes to op agnostic passes
Tue, Apr 13, 11:46 AM
ezhulenev closed D100401: [mlir] Convert async dialect passes from function passes to op agnostic passes.
Tue, Apr 13, 11:46 AM · Restricted Project
ezhulenev updated the diff for D100401: [mlir] Convert async dialect passes from function passes to op agnostic passes.

Rebased

Tue, Apr 13, 11:40 AM · Restricted Project
ezhulenev requested review of D100401: [mlir] Convert async dialect passes from function passes to op agnostic passes.
Tue, Apr 13, 11:16 AM · Restricted Project

Mon, Apr 12

ezhulenev committed rGa6628e596e70: [mlir] Async: add automatic reference counting at async.runtime operations level (authored by ezhulenev).
[mlir] Async: add automatic reference counting at async.runtime operations level
Mon, Apr 12, 6:55 PM
ezhulenev closed D95390: [mlir] Async: add automatic reference counting at async.runtime operations level.
Mon, Apr 12, 6:55 PM · Restricted Project
ezhulenev added inline comments to D95390: [mlir] Async: add automatic reference counting at async.runtime operations level.
Mon, Apr 12, 10:50 AM · Restricted Project
ezhulenev updated the diff for D95390: [mlir] Async: add automatic reference counting at async.runtime operations level.

Return after signaling pass failure

Mon, Apr 12, 10:48 AM · Restricted Project

Apr 11 2021

ezhulenev updated the diff for D95390: [mlir] Async: add automatic reference counting at async.runtime operations level.

Fix typo

Apr 11 2021, 12:44 PM · Restricted Project
ezhulenev added inline comments to D95390: [mlir] Async: add automatic reference counting at async.runtime operations level.
Apr 11 2021, 12:40 PM · Restricted Project
ezhulenev updated the diff for D95390: [mlir] Async: add automatic reference counting at async.runtime operations level.

Traverse only blocks where the ref counted value has users

Apr 11 2021, 12:40 PM · Restricted Project

Apr 10 2021

ezhulenev added inline comments to D95390: [mlir] Async: add automatic reference counting at async.runtime operations level.
Apr 10 2021, 2:44 PM · Restricted Project
ezhulenev updated the diff for D95390: [mlir] Async: add automatic reference counting at async.runtime operations level.

Do not lookup in the hash map twice.

Apr 10 2021, 2:44 PM · Restricted Project
ezhulenev added inline comments to D95390: [mlir] Async: add automatic reference counting at async.runtime operations level.
Apr 10 2021, 2:19 PM · Restricted Project
ezhulenev updated the diff for D95390: [mlir] Async: add automatic reference counting at async.runtime operations level.

Update reference counting pass documentation

Apr 10 2021, 2:18 PM · Restricted Project

Apr 7 2021

ezhulenev added a comment to D95390: [mlir] Async: add automatic reference counting at async.runtime operations level.

@mehdi_amini will you have time to take a look at this change? Diffs looks large, but really no new ideas here. I plan to get back to working on async stuff next week, and need this to land first.

Apr 7 2021, 2:44 PM · Restricted Project

Apr 5 2021

ezhulenev added inline comments to D99818: [mlir] X86Vector: Add AVX Rsqrt.
Apr 5 2021, 11:08 AM · Restricted Project

Apr 3 2021

ezhulenev updated subscribers of D99560: Utility to construct visitors from lambdas..

It’s impossible to statically dispatch to the correct lambda with such API
(or at least a very difficult exercise). std::visit takes a single visitor
and multiple variants, not the other way around. Stitching lambdas together
is just one way of constructing a visitor type, it can be a plain old class
with overloaded operator() set.

Apr 3 2021, 12:53 AM · Restricted Project

Apr 2 2021

ezhulenev added a comment to D99560: Utility to construct visitors from lambdas..

std::forward with inheritance does not remove a need to invoke a copy constructors, I managed to implement overloaded using a struct member and super ugly SFINAE that does properly captures lambdas by reference when lambda is a lvalue, however it still does need to copy when lambda is rvalue: https://godbolt.org/z/dqshPW6h1 (top most example, I just count the number of HeavyStuff::HeavyStuff(HeavyStuff const&) copy constructor calls in the generated code). But it does look much worse than inheritance.

Apr 2 2021, 9:39 PM · Restricted Project

Mar 30 2021

ezhulenev added a comment to D99561: Support visitor pattern by PointerUnion..

True llvm::visit API similar to std::visit requires visited type to be a std::variant (llvm::variant?) and implementng it is a lot of code (e.g. implementation in absl). Given that it's unlikely that PointerUnion at any point will become std::variant, I'd say that it will always be a separate API. And for this usability improvement the change is not that large.

Mar 30 2021, 9:35 PM · Restricted Project
ezhulenev added inline comments to D99561: Support visitor pattern by PointerUnion..
Mar 30 2021, 3:44 PM · Restricted Project
ezhulenev committed rG6c9fbcf5b1cb: [mlir] Linalg: add tile interchange flag to test-linalg-codegen-strategy pass (authored by ezhulenev).
[mlir] Linalg: add tile interchange flag to test-linalg-codegen-strategy pass
Mar 30 2021, 10:49 AM
ezhulenev closed D99397: [mlir] Linalg: add tile interchange flag to test-linalg-codegen-strategy pass.
Mar 30 2021, 10:48 AM · Restricted Project

Mar 25 2021

ezhulenev updated the summary of D99397: [mlir] Linalg: add tile interchange flag to test-linalg-codegen-strategy pass.
Mar 25 2021, 7:50 PM · Restricted Project
ezhulenev requested review of D99397: [mlir] Linalg: add tile interchange flag to test-linalg-codegen-strategy pass.
Mar 25 2021, 7:49 PM · Restricted Project

Mar 18 2021

ezhulenev committed rG32a744ab20f3: [mlir] Add linalg.fill bufferization conversion (authored by ezhulenev).
[mlir] Add linalg.fill bufferization conversion
Mar 18 2021, 1:41 PM
ezhulenev closed D98671: [mlir] Add linalg.fill bufferization conversion.
Mar 18 2021, 1:41 PM · Restricted Project

Mar 16 2021

ezhulenev committed rG74f6138bd98f: [mlir] Add lowering from math::Log1p to LLVM (authored by ezhulenev).
[mlir] Add lowering from math::Log1p to LLVM
Mar 16 2021, 3:59 PM
ezhulenev closed D98662: [mlir] Add lowering from math::Log1p to LLVM.
Mar 16 2021, 3:59 PM · Restricted Project

Mar 15 2021

ezhulenev updated the summary of D98671: [mlir] Add linalg.fill bufferization conversion.
Mar 15 2021, 4:55 PM · Restricted Project
ezhulenev updated the summary of D98671: [mlir] Add linalg.fill bufferization conversion.
Mar 15 2021, 4:54 PM · Restricted Project
ezhulenev requested review of D98671: [mlir] Add linalg.fill bufferization conversion.
Mar 15 2021, 4:52 PM · Restricted Project
ezhulenev updated the summary of D98662: [mlir] Add lowering from math::Log1p to LLVM.
Mar 15 2021, 2:40 PM · Restricted Project
ezhulenev requested review of D98662: [mlir] Add lowering from math::Log1p to LLVM.
Mar 15 2021, 2:39 PM · Restricted Project

Mar 12 2021

ezhulenev committed rG39b2cd400996: [mlir] Annotate functions used only in debug mode with LLVM_ATTRIBUTE_UNUSED (authored by ezhulenev).
[mlir] Annotate functions used only in debug mode with LLVM_ATTRIBUTE_UNUSED
Mar 12 2021, 11:26 AM
ezhulenev closed D98476: [mlir] Annotate functions used only in debug mode with LLVM_ATTRIBUTE_UNUSED.
Mar 12 2021, 11:26 AM · Restricted Project
ezhulenev retitled D98476: [mlir] Annotate functions used only in debug mode with LLVM_ATTRIBUTE_UNUSED from [mlir] Put functions used only in debug mode under NDEBUG to [mlir] Annotate functions used only in debug mode with LLVM_ATTRIBUTE_UNUSED.
Mar 12 2021, 10:40 AM · Restricted Project
ezhulenev updated the diff for D98476: [mlir] Annotate functions used only in debug mode with LLVM_ATTRIBUTE_UNUSED.

Use LLVM_ATTRIBUTE_UNUSED

Mar 12 2021, 10:39 AM · Restricted Project

Mar 11 2021

ezhulenev added a reviewer for D98476: [mlir] Annotate functions used only in debug mode with LLVM_ATTRIBUTE_UNUSED: dcaballe.
Mar 11 2021, 8:38 PM · Restricted Project
ezhulenev updated the summary of D98476: [mlir] Annotate functions used only in debug mode with LLVM_ATTRIBUTE_UNUSED.
Mar 11 2021, 8:37 PM · Restricted Project
ezhulenev requested review of D98476: [mlir] Annotate functions used only in debug mode with LLVM_ATTRIBUTE_UNUSED.
Mar 11 2021, 8:35 PM · Restricted Project
ezhulenev added a comment to D97304: [mlir] Add polynomial approximation for math::LogOp (using builders API).

They are actually used but only inside assert, is it a release build when it is a warning?

Mar 11 2021, 10:28 AM · Restricted Project

Mar 10 2021

ezhulenev committed rGc0891706bc9f: [mlir] Add polynomial approximation for math::Log2 (authored by cota).
[mlir] Add polynomial approximation for math::Log2
Mar 10 2021, 2:49 PM
ezhulenev closed D98282: [mlir] Add polynomial approximation for math::Log2.
Mar 10 2021, 2:49 PM · Restricted Project
ezhulenev accepted D98282: [mlir] Add polynomial approximation for math::Log2.
Mar 10 2021, 11:15 AM · Restricted Project

Mar 9 2021

ezhulenev added inline comments to D98282: [mlir] Add polynomial approximation for math::Log2.
Mar 9 2021, 4:26 PM · Restricted Project
ezhulenev added inline comments to D98282: [mlir] Add polynomial approximation for math::Log2.
Mar 9 2021, 12:35 PM · Restricted Project

Feb 27 2021

ezhulenev accepted D97599: [mlir] Add polynomial approximation for math::ExpOp.
Feb 27 2021, 5:49 AM · Restricted Project

Feb 24 2021

ezhulenev updated the diff for D95390: [mlir] Async: add automatic reference counting at async.runtime operations level.

Fix integration tests

Feb 24 2021, 11:54 AM · Restricted Project
ezhulenev updated the diff for D95390: [mlir] Async: add automatic reference counting at async.runtime operations level.

Rebase

Feb 24 2021, 11:45 AM · Restricted Project
ezhulenev abandoned D97146: [mlir] Add polynomial approximation for math::LogOp.
Feb 24 2021, 10:46 AM · Restricted Project
ezhulenev committed rGce976d2db39f: [mlir] Add polynomial approximation for math::LogOp (using builders API) (authored by ezhulenev).
[mlir] Add polynomial approximation for math::LogOp (using builders API)
Feb 24 2021, 7:50 AM
ezhulenev closed D97304: [mlir] Add polynomial approximation for math::LogOp (using builders API).
Feb 24 2021, 7:50 AM · Restricted Project
ezhulenev added inline comments to D97304: [mlir] Add polynomial approximation for math::LogOp (using builders API).
Feb 24 2021, 7:50 AM · Restricted Project
ezhulenev updated the diff for D97304: [mlir] Add polynomial approximation for math::LogOp (using builders API).

Optimize frexp for positive values

Feb 24 2021, 6:59 AM · Restricted Project
ezhulenev updated the diff for D97304: [mlir] Add polynomial approximation for math::LogOp (using builders API).

Minor fix

Feb 24 2021, 3:09 AM · Restricted Project

Feb 23 2021

ezhulenev added inline comments to D97146: [mlir] Add polynomial approximation for math::LogOp.
Feb 23 2021, 11:52 AM · Restricted Project
ezhulenev retitled D97304: [mlir] Add polynomial approximation for math::LogOp (using builders API) from [mlir] Use builder API to construct approximations to [mlir] Add polynomial approximation for math::LogOp (using builders API).
Feb 23 2021, 11:51 AM · Restricted Project
ezhulenev updated the diff for D97304: [mlir] Add polynomial approximation for math::LogOp (using builders API).

Use ImplicitLocOpBuilder

Feb 23 2021, 11:50 AM · Restricted Project
ezhulenev added inline comments to D97146: [mlir] Add polynomial approximation for math::LogOp.
Feb 23 2021, 9:58 AM · Restricted Project
ezhulenev requested review of D97304: [mlir] Add polynomial approximation for math::LogOp (using builders API).
Feb 23 2021, 9:30 AM · Restricted Project

Feb 22 2021

ezhulenev added inline comments to D97146: [mlir] Add polynomial approximation for math::LogOp.
Feb 22 2021, 4:10 AM · Restricted Project

Feb 21 2021

ezhulenev added inline comments to D97146: [mlir] Add polynomial approximation for math::LogOp.
Feb 21 2021, 1:13 PM · Restricted Project
ezhulenev updated the summary of D97146: [mlir] Add polynomial approximation for math::LogOp.
Feb 21 2021, 7:22 AM · Restricted Project
ezhulenev updated the diff for D97146: [mlir] Add polynomial approximation for math::LogOp.

Use explisit SiToFp cast operation

Feb 21 2021, 7:01 AM · Restricted Project
ezhulenev requested review of D97146: [mlir] Add polynomial approximation for math::LogOp.
Feb 21 2021, 6:48 AM · Restricted Project

Feb 19 2021

ezhulenev committed rGf99ccf6516bd: [mlir] Add math polynomial approximation pass (authored by ezhulenev).
[mlir] Add math polynomial approximation pass
Feb 19 2021, 12:44 PM
ezhulenev closed D96739: [mlir] Add math polynomial approximation pass.
Feb 19 2021, 12:43 PM · Restricted Project
ezhulenev added inline comments to D96739: [mlir] Add math polynomial approximation pass.
Feb 19 2021, 12:41 PM · Restricted Project

Feb 18 2021

ezhulenev updated the diff for D96739: [mlir] Add math polynomial approximation pass.

Fix xtyle warning

Feb 18 2021, 4:25 PM · Restricted Project

Feb 17 2021

ezhulenev committed rG519f5917b458: [mlir] Add fma operation to std dialect (authored by ezhulenev).
[mlir] Add fma operation to std dialect
Feb 17 2021, 10:06 AM
ezhulenev closed D96801: [mlir] Add fma operation to std dialect.
Feb 17 2021, 10:06 AM · Restricted Project
ezhulenev updated the diff for D96801: [mlir] Add fma operation to std dialect.

Documen fma operation semantics

Feb 17 2021, 8:34 AM · Restricted Project
ezhulenev added a comment to D96739: [mlir] Add math polynomial approximation pass.

Are these expansions equivalent to libm always right now?

Feb 17 2021, 1:58 AM · Restricted Project
ezhulenev updated the diff for D96739: [mlir] Add math polynomial approximation pass.

Register polynomial expansion as test pass

Feb 17 2021, 1:55 AM · Restricted Project
ezhulenev added inline comments to D96801: [mlir] Add fma operation to std dialect.
Feb 17 2021, 1:09 AM · Restricted Project

Feb 16 2021

ezhulenev added inline comments to D96801: [mlir] Add fma operation to std dialect.
Feb 16 2021, 5:16 PM · Restricted Project
ezhulenev added inline comments to D96801: [mlir] Add fma operation to std dialect.
Feb 16 2021, 4:24 PM · Restricted Project
ezhulenev retitled D96739: [mlir] Add math polynomial approximation pass from [mlir] Add fast math expansion pass to math dialect to [mlir] Add math polynomial approximation pass.
Feb 16 2021, 4:17 PM · Restricted Project