Page MenuHomePhabricator

Please use GitHub pull requests for new patches. Phabricator shutdown timeline

gysit (Tobias Gysi)
User

Projects

User does not belong to any projects.

User Details

User Since
Feb 7 2020, 5:34 AM (188 w, 6 d)

Recent Activity

Yesterday

gysit added inline comments to D136360: [mlir][llvm] Tighten LLVM dialect intrinsic type constraints..
Wed, Sep 20, 5:53 AM · Restricted Project, Restricted Project
gysit added inline comments to D136360: [mlir][llvm] Tighten LLVM dialect intrinsic type constraints..
Wed, Sep 20, 5:49 AM · Restricted Project, Restricted Project

Fri, Sep 1

gysit accepted D158278: [MLIR] Move builtin.module LLVM IR translation to before nested operations.

Thank you for the pointers, I just finished making these changes. In the end, I was able to keep the CMakeLists.txt for mlir-translate unmodified because the add_mlir_translation_library call registers the library into the MLIR_TRANSLATION_LIBS variable that's already used by mlir-translate to find libraries to link to.

Fri, Sep 1, 8:47 AM · Restricted Project, Restricted Project
gysit committed rGdc2c4fc78482: [mlir][llvm] Allow inlining for dbg label (authored by gysit).
[mlir][llvm] Allow inlining for dbg label
Fri, Sep 1, 7:57 AM · Restricted Project, Restricted Project
gysit closed D159359: [mlir][llvm] Allow inlining for dbg label.
Fri, Sep 1, 7:57 AM · Restricted Project, Restricted Project
gysit added reviewers for D159359: [mlir][llvm] Allow inlining for dbg label: definelicht, zero9178.
Fri, Sep 1, 7:22 AM · Restricted Project, Restricted Project
gysit requested review of D159359: [mlir][llvm] Allow inlining for dbg label.
Fri, Sep 1, 7:21 AM · Restricted Project, Restricted Project
gysit added a comment to D158278: [MLIR] Move builtin.module LLVM IR translation to before nested operations.

Thanks for adding the test!

Fri, Sep 1, 7:11 AM · Restricted Project, Restricted Project
gysit added a comment to D158278: [MLIR] Move builtin.module LLVM IR translation to before nested operations.

The change looks good to me!

Fri, Sep 1, 1:53 AM · Restricted Project, Restricted Project

Wed, Aug 30

gysit committed rG5f230ed762de: [mlir][llvm] Translate alias scopes lazily (authored by gysit).
[mlir][llvm] Translate alias scopes lazily
Wed, Aug 30, 6:01 AM · Restricted Project, Restricted Project
gysit closed D159187: [mlir][llvm] Translate alias scopes lazily.
Wed, Aug 30, 6:01 AM · Restricted Project, Restricted Project
gysit updated the diff for D159187: [mlir][llvm] Translate alias scopes lazily.

Avoid using the walker.

Wed, Aug 30, 5:13 AM · Restricted Project, Restricted Project
gysit added reviewers for D159187: [mlir][llvm] Translate alias scopes lazily: zero9178, Dinistro.
Wed, Aug 30, 4:44 AM · Restricted Project, Restricted Project
gysit requested review of D159187: [mlir][llvm] Translate alias scopes lazily.
Wed, Aug 30, 4:43 AM · Restricted Project, Restricted Project

Aug 10 2023

gysit committed rG8dd6c7aa2ce8: [mlir][llvm] Improve intrinsic import/export tests (authored by gysit).
[mlir][llvm] Improve intrinsic import/export tests
Aug 10 2023, 3:35 AM · Restricted Project, Restricted Project
gysit closed D157585: [mlir][llvm] Improve intrinsic import/export tests.
Aug 10 2023, 3:35 AM · Restricted Project, Restricted Project
gysit added reviewers for D157585: [mlir][llvm] Improve intrinsic import/export tests: zero9178, Dinistro.
Aug 10 2023, 12:52 AM · Restricted Project, Restricted Project
gysit requested review of D157585: [mlir][llvm] Improve intrinsic import/export tests.
Aug 10 2023, 12:52 AM · Restricted Project, Restricted Project

Aug 9 2023

gysit accepted D157496: [mlir][LLVM] Delay debug intrinsic import to ensure dominance.

Forgot to accept :)

Aug 9 2023, 5:24 AM · Restricted Project, Restricted Project
gysit added a comment to D157496: [mlir][LLVM] Delay debug intrinsic import to ensure dominance.

Thanks for iteration. I think simplicity wins here!

Aug 9 2023, 5:23 AM · Restricted Project, Restricted Project

Aug 8 2023

gysit accepted D156889: [mlir][cf] Add ControlFlow to SCF lifting pass.

Looking forward to use this!

Aug 8 2023, 11:12 PM · Restricted Project, Restricted Project, Restricted Project
gysit added a comment to D156889: [mlir][cf] Add ControlFlow to SCF lifting pass.

Very nice improvement, we are getting there!

Aug 8 2023, 2:34 AM · Restricted Project, Restricted Project, Restricted Project

Aug 4 2023

gysit accepted D157096: [mlir][LLVM] Introduce verfier for call debug locations.

LGTM

Aug 4 2023, 7:28 AM · Restricted Project, Restricted Project

Aug 3 2023

gysit added inline comments to D156889: [mlir][cf] Add ControlFlow to SCF lifting pass.
Aug 3 2023, 10:16 AM · Restricted Project, Restricted Project, Restricted Project
gysit committed rGfe5370dd50e4: [mlir] Store segment sizes in std::array (authored by gysit).
[mlir] Store segment sizes in std::array
Aug 3 2023, 1:31 AM · Restricted Project, Restricted Project
gysit closed D156888: [mlir] Store segment sizes in std::array.
Aug 3 2023, 1:31 AM · Restricted Project, Restricted Project
gysit added a comment to D156889: [mlir][cf] Add ControlFlow to SCF lifting pass.

Amazing progress!

Aug 3 2023, 12:53 AM · Restricted Project, Restricted Project, Restricted Project

Aug 2 2023

gysit added a reviewer for D156888: [mlir] Store segment sizes in std::array: mehdi_amini.
Aug 2 2023, 6:28 AM · Restricted Project, Restricted Project
gysit requested review of D156888: [mlir] Store segment sizes in std::array.
Aug 2 2023, 6:27 AM · Restricted Project, Restricted Project

Jul 28 2023

gysit accepted D156531: [mlir][LLVMIR] Fix identified structs with same name.

Thanks for fixing this bug!

Jul 28 2023, 8:00 AM · Restricted Project, Restricted Project

Jul 26 2023

gysit added inline comments to D155919: Update ODS variadic segments "magic" attributes to use native Properties.
Jul 26 2023, 8:51 AM · Restricted Project, Restricted Project
gysit added a comment to D154098: [mlir] Add a `GlobalSymbol` trait..

Thanks for the explanation. Yeah then reordering the translation steps may make sense in this case!

Jul 26 2023, 8:11 AM · Restricted Project, Restricted Project
gysit added a comment to D154098: [mlir] Add a `GlobalSymbol` trait..

The issue is that not all gpu.binary ops have to decay into simple strings, they could decay into a string and function stubs in a case of a CUDA like translation. Thus to avoid any potential issues with other kinds of translations it's better to always translate first gpu.binary.

Jul 26 2023, 7:15 AM · Restricted Project, Restricted Project
gysit committed rG0fc8d9e41a81: [mlir][llvm] Remove the metadata op (authored by gysit).
[mlir][llvm] Remove the metadata op
Jul 26 2023, 4:44 AM · Restricted Project, Restricted Project
gysit closed D156217: [mlir][llvm] Remove the metadata op.
Jul 26 2023, 4:43 AM · Restricted Project, Restricted Project
gysit added a comment to D154098: [mlir] Add a `GlobalSymbol` trait..

Can you explain why the gpu.binary operation needs to be translated before the gpu.launch? Couldn't the gpu.launch conversion introduce an empty global variable that then is finalized once you translate the gpu.binary operation? The latter could then use getOrInsertGlobal to get and modify the global introduced during the conversion of the gpu.launch. This would make the translation robust against changing the order in which things are converted.

Jul 26 2023, 12:07 AM · Restricted Project, Restricted Project

Jul 25 2023

gysit updated the diff for D156217: [mlir][llvm] Remove the metadata op.

Rebase.

Jul 25 2023, 11:38 PM · Restricted Project, Restricted Project
gysit added a reviewer for D156217: [mlir][llvm] Remove the metadata op: zero9178.
Jul 25 2023, 2:05 AM · Restricted Project, Restricted Project
gysit requested review of D156217: [mlir][llvm] Remove the metadata op.
Jul 25 2023, 2:05 AM · Restricted Project, Restricted Project
gysit added inline comments to D154098: [mlir] Add a `GlobalSymbol` trait..
Jul 25 2023, 12:29 AM · Restricted Project, Restricted Project

Jul 20 2023

gysit accepted D155712: [mlir][LLVM] Convert `noalias` parameters into alias scopes during inlining.

Looks even more LGTM!

Jul 20 2023, 5:39 AM · Restricted Project, Restricted Project
gysit added a comment to D155712: [mlir][LLVM] Convert `noalias` parameters into alias scopes during inlining.

Can you maybe add a test case that exercises the memory intrinsics?

Jul 20 2023, 5:13 AM · Restricted Project, Restricted Project
gysit committed rG10fa27704b31: [mlir][llvm] Add branch weight op interface (authored by gysit).
[mlir][llvm] Add branch weight op interface
Jul 20 2023, 3:56 AM · Restricted Project, Restricted Project
gysit closed D155702: [mlir][llvm] Add branch weight op interface.
Jul 20 2023, 3:55 AM · Restricted Project, Restricted Project
gysit accepted D155795: [mlir][LLVM] Handle access groups during inlining.

LGTM modulo minor comment.

Jul 20 2023, 1:29 AM · Restricted Project, Restricted Project
gysit accepted D155712: [mlir][LLVM] Convert `noalias` parameters into alias scopes during inlining.

Very nice!

Jul 20 2023, 1:00 AM · Restricted Project, Restricted Project
gysit updated the diff for D155702: [mlir][llvm] Add branch weight op interface.

Address comments.

Jul 20 2023, 12:15 AM · Restricted Project, Restricted Project

Jul 19 2023

gysit added reviewers for D155702: [mlir][llvm] Add branch weight op interface: zero9178, definelicht.
Jul 19 2023, 6:53 AM · Restricted Project, Restricted Project
gysit requested review of D155702: [mlir][llvm] Add branch weight op interface.
Jul 19 2023, 6:52 AM · Restricted Project, Restricted Project

Jul 18 2023

gysit accepted D155444: [mlir][flang] Convert TBAA metadata to an attribute representation.

Very nice simplification!

Jul 18 2023, 6:58 AM · Restricted Project, Restricted Project, Restricted Project
gysit added inline comments to D155444: [mlir][flang] Convert TBAA metadata to an attribute representation.
Jul 18 2023, 4:57 AM · Restricted Project, Restricted Project, Restricted Project
gysit accepted D155479: [mlir][LLVM] Perform deep clone of alias scopes during inlining.

LGTM module nit suggestion.

Jul 18 2023, 12:25 AM · Restricted Project, Restricted Project
gysit added a comment to D155444: [mlir][flang] Convert TBAA metadata to an attribute representation.

Very nice! Attributes make things a lot simpler.

Jul 18 2023, 12:10 AM · Restricted Project, Restricted Project, Restricted Project

Jul 16 2023

gysit abandoned D148106: [mlir][llvm] Use attributes to store access groups..

This problem has been solved differently https://reviews.llvm.org/D155285.

Jul 16 2023, 11:30 PM · Restricted Project, Restricted Project

Jul 14 2023

gysit accepted D155285: [mlir][LLVM] Convert access group metadata to using attributes instead of ops.

Thanks LGTM!

Jul 14 2023, 5:53 AM · Restricted Project, Restricted Project
gysit added inline comments to D155285: [mlir][LLVM] Convert access group metadata to using attributes instead of ops.
Jul 14 2023, 4:59 AM · Restricted Project, Restricted Project
gysit accepted D155159: [mlir][LLVM] Convert alias metadata to using attributes instead of ops.

LGTM module last nit comments.

Jul 14 2023, 1:55 AM · Restricted Project, Restricted Project
gysit added a comment to D155159: [mlir][LLVM] Convert alias metadata to using attributes instead of ops.

Nice improvement!

Jul 14 2023, 12:33 AM · Restricted Project, Restricted Project

Jul 11 2023

gysit accepted D154842: [mlir][llvm] Define annotation intrinsics.

LGTM!

Jul 11 2023, 2:16 AM · Restricted Project, Restricted Project
gysit committed rG728a8d5a81f3: [mlir] Add a builtin distinct attribute (authored by gysit).
[mlir] Add a builtin distinct attribute
Jul 11 2023, 12:35 AM · Restricted Project, Restricted Project
gysit closed D153360: [mlir] Add a builtin distinct attribute.
Jul 11 2023, 12:34 AM · Restricted Project, Restricted Project

Jul 10 2023

gysit updated the diff for D153360: [mlir] Add a builtin distinct attribute.

Rebase and improve comments.

Jul 10 2023, 11:04 PM · Restricted Project, Restricted Project
gysit added inline comments to D154842: [mlir][llvm] Define annotation intrinsics.
Jul 10 2023, 6:55 AM · Restricted Project, Restricted Project
gysit accepted D154840: [mlir][LLVM] Add support for arrays in `SplitStores` pattern.

Very nice!

Jul 10 2023, 6:45 AM · Restricted Project, Restricted Project
gysit accepted D154707: [mlir][LLVM] Make `SplitStores` pattern capable of writing to sub-aggregates.

Thanks LGTM modulo ultra nit.

Jul 10 2023, 6:27 AM · Restricted Project, Restricted Project
gysit accepted D154692: [mlir][LLVM] Add `SplitGEP` type-consistency pattern.

LGTM!

Jul 10 2023, 12:50 AM · Restricted Project, Restricted Project

Jul 9 2023

gysit accepted D154712: [mlir][LLVM] Export DICompositeType as distinct MD when necessary.

LGTM!

Jul 9 2023, 11:30 PM · Restricted Project, Restricted Project
gysit added inline comments to D154707: [mlir][LLVM] Make `SplitStores` pattern capable of writing to sub-aggregates.
Jul 9 2023, 9:14 AM · Restricted Project, Restricted Project
gysit added inline comments to D154712: [mlir][LLVM] Export DICompositeType as distinct MD when necessary.
Jul 9 2023, 8:50 AM · Restricted Project, Restricted Project
gysit accepted D154587: [mlir][LLVM] Add `BitcastStores` type-consistency pattern.

LGTM!

Jul 9 2023, 8:46 AM · Restricted Project, Restricted Project
gysit added inline comments to D154692: [mlir][LLVM] Add `SplitGEP` type-consistency pattern.
Jul 9 2023, 8:45 AM · Restricted Project, Restricted Project
gysit added a comment to D154692: [mlir][LLVM] Add `SplitGEP` type-consistency pattern.

Can you add a test for the pattern or is the result always consumed by a follow up pattern?

Jul 9 2023, 8:44 AM · Restricted Project, Restricted Project

Jul 6 2023

gysit accepted D154583: [mlir][LLVM] Make `SplitIntegerStores` capable of splitting vectors as well.

Nice LGTM!

Jul 6 2023, 6:30 AM · Restricted Project, Restricted Project
gysit added inline comments to D154587: [mlir][LLVM] Add `BitcastStores` type-consistency pattern.
Jul 6 2023, 4:41 AM · Restricted Project, Restricted Project
gysit added inline comments to D154583: [mlir][LLVM] Make `SplitIntegerStores` capable of splitting vectors as well.
Jul 6 2023, 2:30 AM · Restricted Project, Restricted Project

Jul 5 2023

gysit added a comment to D153360: [mlir] Add a builtin distinct attribute.

This patch looks like it's missing bytecode support, have you tested that case? Failure there will be a miscompile, not a hard error.

Jul 5 2023, 8:49 AM · Restricted Project, Restricted Project
gysit accepted D154449: [mlir][llvm] add basic type consistency pattern destructuring integer stores.

Nice improvement!

Jul 5 2023, 3:52 AM · Restricted Project, Restricted Project
gysit accepted D154476: [mlir][LLVM] Use `undef` operand instead of removing `llvm.intr.dbg.value`.

Thanks for the improvement. LGTM!

Jul 5 2023, 12:53 AM · Restricted Project, Restricted Project

Jul 4 2023

gysit added a comment to D154449: [mlir][llvm] add basic type consistency pattern destructuring integer stores.

The logic looks good. I have added a few nit comments.

Jul 4 2023, 11:52 PM · Restricted Project, Restricted Project
gysit accepted D154451: [mlir][LLVM] drop `llvm.intr.dbg.value` when promoting in `SROA` or `mem2reg`.

LGTM!

Jul 4 2023, 8:14 AM · Restricted Project, Restricted Project
gysit added a comment to D153360: [mlir] Add a builtin distinct attribute.

Are there any more comments? @rriddle @Mogball @mehdi_amini maybe?

Jul 4 2023, 8:02 AM · Restricted Project, Restricted Project
gysit accepted D154416: [mlir][LLVM] Stop importing module location for all unknown locs.

LGTM!

Jul 4 2023, 2:00 AM · Restricted Project, Restricted Project

Jul 3 2023

gysit accepted D154410: [mlir][LLVM] Add alignment to LLVMFuncOp.

LGTM!

Jul 3 2023, 11:00 PM · Restricted Project, Restricted Project
gysit accepted D154360: [mlir][LLVM] Add unnamed_addr to LLVMFuncOp.

Can you add a small roundtrip test in llvm-project/mlir/test/Dialect/LLVMIR/func.mlir (e.g. right above the comdat stuff)?

Jul 3 2023, 11:09 AM · Restricted Project, Restricted Project

Jun 30 2023

gysit accepted D154219: [mlir][LLVM] Add section attribute to LLVMFuncOp.

Thanks LGTM!

Jun 30 2023, 7:11 AM · Restricted Project, Restricted Project

Jun 29 2023

gysit updated the diff for D153360: [mlir] Add a builtin distinct attribute.

Address comments.

Jun 29 2023, 7:59 AM · Restricted Project, Restricted Project
gysit added inline comments to D153360: [mlir] Add a builtin distinct attribute.
Jun 29 2023, 7:32 AM · Restricted Project, Restricted Project
gysit accepted D153973: [mlir][llvm] Type consistency transformations.

Nice Thanks!

Jun 29 2023, 6:51 AM · Restricted Project, Restricted Project
gysit added a comment to D153360: [mlir] Add a builtin distinct attribute.

@mehdi_amini Thanks for the review comments. ThreadLocalCache indeed already implements a thread local storage with a non-static lifetime. I changed my code to use it.

Jun 29 2023, 4:27 AM · Restricted Project, Restricted Project
gysit updated the diff for D153360: [mlir] Add a builtin distinct attribute.

Address comments and rebase.

Jun 29 2023, 4:20 AM · Restricted Project, Restricted Project

Jun 28 2023

gysit committed rGac1b69b9db5c: [mlir][llvm] Add debug label intrinsic (authored by gysit).
[mlir][llvm] Add debug label intrinsic
Jun 28 2023, 11:37 PM · Restricted Project, Restricted Project
gysit closed D153975: [mlir][llvm] Add debug label intrinsic.
Jun 28 2023, 11:36 PM · Restricted Project, Restricted Project
gysit accepted D153984: [mlir][llvm] Dominance violating debug intrinsic import.

Thanks LGTM!

Jun 28 2023, 11:27 PM · Restricted Project, Restricted Project
gysit updated the diff for D153975: [mlir][llvm] Add debug label intrinsic.

Address comment and rebase.

Jun 28 2023, 11:11 PM · Restricted Project, Restricted Project
gysit added inline comments to D153984: [mlir][llvm] Dominance violating debug intrinsic import.
Jun 28 2023, 9:58 AM · Restricted Project, Restricted Project
gysit added inline comments to D153973: [mlir][llvm] Type consistency transformations.
Jun 28 2023, 9:49 AM · Restricted Project, Restricted Project
gysit requested review of D153975: [mlir][llvm] Add debug label intrinsic.
Jun 28 2023, 7:08 AM · Restricted Project, Restricted Project

Jun 27 2023

gysit accepted D153841: [mlir][LLVM] Improve error handling in switch parsing.

LGTM!

Jun 27 2023, 1:19 AM · Restricted Project, Restricted Project
gysit added inline comments to D153841: [mlir][LLVM] Improve error handling in switch parsing.
Jun 27 2023, 1:13 AM · Restricted Project, Restricted Project
gysit committed rGb126ee65fcbb: [mlir][llvm] Add comdat attribute to functions (authored by gysit).
[mlir][llvm] Add comdat attribute to functions
Jun 27 2023, 12:29 AM · Restricted Project, Restricted Project