Page MenuHomePhabricator
Feed Advanced Search

Today

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

Yesterday

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

Sun, Apr 11

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

Fix typo

Sun, Apr 11, 12:44 PM · Restricted Project
ezhulenev added inline comments to D95390: [mlir] Async: add automatic reference counting at async.runtime operations level.
Sun, Apr 11, 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

Sun, Apr 11, 12:40 PM · Restricted Project

Sat, Apr 10

ezhulenev added inline comments to D95390: [mlir] Async: add automatic reference counting at async.runtime operations level.
Sat, Apr 10, 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.

Sat, Apr 10, 2:44 PM · Restricted Project
ezhulenev added inline comments to D95390: [mlir] Async: add automatic reference counting at async.runtime operations level.
Sat, Apr 10, 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

Sat, Apr 10, 2:18 PM · Restricted Project

Wed, Apr 7

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.

Wed, Apr 7, 2:44 PM · Restricted Project

Mon, Apr 5

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

Sat, Apr 3

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.

Sat, Apr 3, 12:53 AM · Restricted Project

Fri, Apr 2

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.

Fri, Apr 2, 9:39 PM · Restricted Project

Tue, Mar 30

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.

Tue, Mar 30, 9:35 PM · Restricted Project
ezhulenev added inline comments to D99561: Support visitor pattern by PointerUnion..
Tue, Mar 30, 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
Tue, Mar 30, 10:49 AM
ezhulenev closed D99397: [mlir] Linalg: add tile interchange flag to test-linalg-codegen-strategy pass.
Tue, Mar 30, 10:48 AM · Restricted Project

Thu, Mar 25

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

Thu, Mar 18

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

Tue, Mar 16

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

Mon, Mar 15

ezhulenev updated the summary of D98671: [mlir] Add linalg.fill bufferization conversion.
Mon, Mar 15, 4:55 PM · Restricted Project
ezhulenev updated the summary of D98671: [mlir] Add linalg.fill bufferization conversion.
Mon, Mar 15, 4:54 PM · Restricted Project
ezhulenev requested review of D98671: [mlir] Add linalg.fill bufferization conversion.
Mon, Mar 15, 4:52 PM · Restricted Project
ezhulenev updated the summary of D98662: [mlir] Add lowering from math::Log1p to LLVM.
Mon, Mar 15, 2:40 PM · Restricted Project
ezhulenev requested review of D98662: [mlir] Add lowering from math::Log1p to LLVM.
Mon, Mar 15, 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
ezhulenev updated the diff for D96739: [mlir] Add math polynomial approximation pass.

Rename fast-math to math-polynomial-approximation pass

Feb 16 2021, 4:17 PM · Restricted Project
ezhulenev added a comment to D96801: [mlir] Add fma operation to std dialect.

Where should this go when the standard dialect is split into pieces?

Feb 16 2021, 2:56 PM · Restricted Project
ezhulenev updated the summary of D96801: [mlir] Add fma operation to std dialect.
Feb 16 2021, 10:48 AM · Restricted Project
ezhulenev requested review of D96801: [mlir] Add fma operation to std dialect.
Feb 16 2021, 10:47 AM · Restricted Project
ezhulenev added a comment to D96739: [mlir] Add math polynomial approximation pass.

I think this is different than usual fast-math flags.

Feb 16 2021, 3:06 AM · Restricted Project

Feb 15 2021

ezhulenev updated the summary of D96739: [mlir] Add math polynomial approximation pass.
Feb 15 2021, 5:12 PM · Restricted Project
ezhulenev requested review of D96739: [mlir] Add math polynomial approximation pass.
Feb 15 2021, 5:11 PM · Restricted Project

Feb 3 2021

ezhulenev accepted D95933: Fix MLIR Async Runtime DLL on Windows.
Feb 3 2021, 2:40 AM · Restricted Project

Feb 2 2021

ezhulenev accepted D95868: [mlir] Delay adding the __resume function.
Feb 2 2021, 8:38 AM · Restricted Project

Feb 1 2021

ezhulenev abandoned D95758: [mlir] Expand Tanh operations in StdToLLVM conversion.

The solution was to have it in a separate populate* function that the client can call when necessary.

Feb 1 2021, 5:30 AM · Restricted Project
ezhulenev updated the diff for D95758: [mlir] Expand Tanh operations in StdToLLVM conversion.

Update CMakeLists

Feb 1 2021, 5:05 AM · Restricted Project
ezhulenev retitled D95758: [mlir] Expand Tanh operations in StdToLLVM conversion from [mlir] Add `expand-tanh` pass to [mlir] Expand Tanh operations in StdToLLVM conversion.
Feb 1 2021, 5:04 AM · Restricted Project
ezhulenev updated the diff for D95758: [mlir] Expand Tanh operations in StdToLLVM conversion.

Populate expand-tanh patterns in std-to-llvm lowering

Feb 1 2021, 5:03 AM · Restricted Project

Jan 31 2021

ezhulenev retitled D95758: [mlir] Expand Tanh operations in StdToLLVM conversion from [mlir] Add ExpandTanh pass to [mlir] Add `expand-tanh` pass.
Jan 31 2021, 5:43 AM · Restricted Project
ezhulenev updated the diff for D95758: [mlir] Expand Tanh operations in StdToLLVM conversion.

Fix typo

Jan 31 2021, 5:42 AM · Restricted Project
ezhulenev updated the diff for D95758: [mlir] Expand Tanh operations in StdToLLVM conversion.

Remove test-expand-tanh pass

Jan 31 2021, 5:41 AM · Restricted Project
ezhulenev requested review of D95758: [mlir] Expand Tanh operations in StdToLLVM conversion.
Jan 31 2021, 5:31 AM · Restricted Project

Jan 27 2021

ezhulenev committed rGf63f28ed54e7: [mlir:async] Fix deadlock in async runtime await-and-execute functions (authored by ezhulenev).
[mlir:async] Fix deadlock in async runtime await-and-execute functions
Jan 27 2021, 5:09 AM
ezhulenev closed D95517: [mlir:async] Fix deadlock in async runtime await-and-execute functions.
Jan 27 2021, 5:09 AM · Restricted Project
ezhulenev updated the summary of D95517: [mlir:async] Fix deadlock in async runtime await-and-execute functions.
Jan 27 2021, 4:28 AM · Restricted Project
ezhulenev requested review of D95517: [mlir:async] Fix deadlock in async runtime await-and-execute functions.
Jan 27 2021, 4:27 AM · Restricted Project