Page MenuHomePhabricator

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

asi-sc (Anton Sidorenko)
User

Projects

User does not belong to any projects.

User Details

User Since
Aug 1 2022, 2:08 AM (60 w, 5 d)

Recent Activity

Jul 12 2023

asi-sc accepted D155046: [RISCV] Clear kill flags when forming FMA instructions in MachineCombiner..

LGTM

Jul 12 2023, 6:44 AM · Restricted Project, Restricted Project

Feb 17 2023

asi-sc committed rG6f3a756998b3: [RISCV][NFC] Add missing immediate operand types. (authored by dybv-sc).
[RISCV][NFC] Add missing immediate operand types.
Feb 17 2023, 4:57 AM · Restricted Project, Restricted Project
asi-sc closed D144105: [RISCV][NFC] Add missing immediate operand types..
Feb 17 2023, 4:57 AM · Restricted Project, Restricted Project
asi-sc committed rG2693efa8a5bc: [MachineCombiner] Support local strategy for traces (authored by asi-sc).
[MachineCombiner] Support local strategy for traces
Feb 17 2023, 2:18 AM · Restricted Project, Restricted Project
asi-sc closed D140542: [MachineCombiner] Support local strategy for traces.
Feb 17 2023, 2:18 AM · Restricted Project, Restricted Project

Feb 16 2023

asi-sc committed rG5bdd0beeee56: [MachineCombiner][NFC] Rename `MinInstr` to `TraceEnsemble` (authored by asi-sc).
[MachineCombiner][NFC] Rename `MinInstr` to `TraceEnsemble`
Feb 16 2023, 4:10 AM · Restricted Project, Restricted Project
asi-sc closed D140541: [MachineCombiner][NFC] Rename `MinInstr` to `TraceEnsemble`.
Feb 16 2023, 4:09 AM · Restricted Project, Restricted Project

Feb 15 2023

asi-sc committed rG980aa8d740da: [MachineTraceMetrics] Add local strategy (authored by asi-sc).
[MachineTraceMetrics] Add local strategy
Feb 15 2023, 4:54 AM · Restricted Project, Restricted Project
asi-sc closed D140540: [MachineTraceMetrics] Add local strategy.
Feb 15 2023, 4:54 AM · Restricted Project, Restricted Project

Feb 14 2023

asi-sc committed rG77bd15ae2fa3: [MachineTraceMetrics][NFC] Move Strategy enum out of the class (authored by asi-sc).
[MachineTraceMetrics][NFC] Move Strategy enum out of the class
Feb 14 2023, 5:42 AM · Restricted Project, Restricted Project
asi-sc closed D140539: [MachineTraceMetrics][NFC] Move Strategy enum out of the class.
Feb 14 2023, 5:42 AM · Restricted Project, Restricted Project

Feb 13 2023

asi-sc committed rG388d679c1dfa: Recommit [YAML IO] Check that mapping doesn't contain duplicating keys (authored by asi-sc).
Recommit [YAML IO] Check that mapping doesn't contain duplicating keys
Feb 13 2023, 6:52 AM · Restricted Project, Restricted Project
asi-sc committed rGafe9b0ba87b7: [Test][lldb] Fix YAML mapping keys duplication. NFC. (authored by asi-sc).
[Test][lldb] Fix YAML mapping keys duplication. NFC.
Feb 13 2023, 5:42 AM · Restricted Project
asi-sc closed D143727: [Test][lldb] Fix YAML mapping keys duplication. NFC..
Feb 13 2023, 5:42 AM · Restricted Project, Restricted Project

Feb 10 2023

asi-sc added a comment to D143727: [Test][lldb] Fix YAML mapping keys duplication. NFC..

Similar fixes review: D141848
LLVM YAML parser improvement that depends on this: D140474

Feb 10 2023, 4:41 AM · Restricted Project, Restricted Project
asi-sc added a reviewer for D143727: [Test][lldb] Fix YAML mapping keys duplication. NFC.: clayborg.
Feb 10 2023, 4:39 AM · Restricted Project, Restricted Project
asi-sc requested review of D143727: [Test][lldb] Fix YAML mapping keys duplication. NFC..
Feb 10 2023, 4:39 AM · Restricted Project, Restricted Project

Feb 9 2023

asi-sc added a reverting change for rG4c228ee6d40a: [YAML IO] Check that mapping doesn't contain duplicating keys: rGed66b81f7a80: Revert "[YAML IO] Check that mapping doesn't contain duplicating keys".
Feb 9 2023, 4:10 AM · Restricted Project, Restricted Project
asi-sc committed rGed66b81f7a80: Revert "[YAML IO] Check that mapping doesn't contain duplicating keys" (authored by asi-sc).
Revert "[YAML IO] Check that mapping doesn't contain duplicating keys"
Feb 9 2023, 4:10 AM · Restricted Project, Restricted Project
asi-sc added a reverting change for D140474: [YAML IO] Check that mapping doesn't contain duplicating keys: rGed66b81f7a80: Revert "[YAML IO] Check that mapping doesn't contain duplicating keys".
Feb 9 2023, 4:09 AM · Restricted Project, Restricted Project
asi-sc committed rG4c228ee6d40a: [YAML IO] Check that mapping doesn't contain duplicating keys (authored by asi-sc).
[YAML IO] Check that mapping doesn't contain duplicating keys
Feb 9 2023, 3:47 AM · Restricted Project, Restricted Project
asi-sc closed D140474: [YAML IO] Check that mapping doesn't contain duplicating keys.
Feb 9 2023, 3:46 AM · Restricted Project, Restricted Project
asi-sc committed rG6820cb2dd5cf: [Test] Fix YAML mapping keys duplication. NFC. (authored by asi-sc).
[Test] Fix YAML mapping keys duplication. NFC.
Feb 9 2023, 2:00 AM · Restricted Project, Restricted Project
asi-sc closed D141848: [Test] Fix YAML mapping keys duplication. NFC..
Feb 9 2023, 2:00 AM · Restricted Project, Restricted Project

Feb 6 2023

asi-sc added a comment to D140542: [MachineCombiner] Support local strategy for traces.

The asm diffs in existing test files show that we are affecting the default behavior of RISC-V compiles, right? If those are considered neutral or improvements, then I think this is good to go.

Feb 6 2023, 4:57 AM · Restricted Project, Restricted Project
asi-sc updated the diff for D140542: [MachineCombiner] Support local strategy for traces.

Use MinInstrCount strategy when scheduling model is not specified.

Feb 6 2023, 4:41 AM · Restricted Project, Restricted Project
asi-sc updated subscribers of D141848: [Test] Fix YAML mapping keys duplication. NFC..

@yota9 , @cishida , @spowell , @steven_wu , sorry for mentioning you directly in this review, however I believe you are the right experts to consult about the content of some tests. We need to get rid of keys duplication in YAML inputs as keys duplication is not allowed by the specification. These fixes in tests blocks improvement of LLVM's YAML parser. Could you please check the comments below where I've mentioned you?

Feb 6 2023, 2:05 AM · Restricted Project, Restricted Project

Feb 3 2023

asi-sc updated the diff for D141848: [Test] Fix YAML mapping keys duplication. NFC..

Rebase: llvm/test/tools/llvm-objcopy/ELF/strip-all-gnu.test was fixed in D143086

Feb 3 2023, 2:23 AM · Restricted Project, Restricted Project
asi-sc committed rG137078de1358: [llvm-objcopy] Fix strip-all-gnu test (authored by asi-sc).
[llvm-objcopy] Fix strip-all-gnu test
Feb 3 2023, 2:09 AM · Restricted Project, Restricted Project
asi-sc closed D143086: [llvm-objcopy] Fix strip-all-gnu test.
Feb 3 2023, 2:09 AM · Restricted Project, Restricted Project

Feb 1 2023

asi-sc added a comment to D143086: [llvm-objcopy] Fix strip-all-gnu test.

Discussion related to this fix can be found in D141848 (see 1 , 2, 3).

Feb 1 2023, 8:58 AM · Restricted Project, Restricted Project
asi-sc requested review of D143086: [llvm-objcopy] Fix strip-all-gnu test.
Feb 1 2023, 8:55 AM · Restricted Project, Restricted Project
asi-sc added a comment to D140542: [MachineCombiner] Support local strategy for traces.

But does that mean the test difference that you are showing will also occur for SiFive7, Syntacore SCR1, and/or Rocket with this patch? If so, can you add a RUN line to the test file like that?

Feb 1 2023, 5:40 AM · Restricted Project, Restricted Project
asi-sc updated the diff for D140542: [MachineCombiner] Support local strategy for traces.

Improve test coverage

Feb 1 2023, 5:24 AM · Restricted Project, Restricted Project
asi-sc added a comment to D141848: [Test] Fix YAML mapping keys duplication. NFC..

@jhenderson , thanks for your investigation and really detailed explanation!

Feb 1 2023, 4:16 AM · Restricted Project, Restricted Project
asi-sc added inline comments to D140474: [YAML IO] Check that mapping doesn't contain duplicating keys.
Feb 1 2023, 1:02 AM · Restricted Project, Restricted Project
asi-sc updated the diff for D140474: [YAML IO] Check that mapping doesn't contain duplicating keys.

Address review comments

Feb 1 2023, 12:56 AM · Restricted Project, Restricted Project
asi-sc added inline comments to D141848: [Test] Fix YAML mapping keys duplication. NFC..
Feb 1 2023, 12:54 AM · Restricted Project, Restricted Project

Jan 27 2023

asi-sc added a comment to D140542: [MachineCombiner] Support local strategy for traces.

I don't see anything wrong with this patch, but I haven't looked at MachineCombiner in a long time, so I'm likely not the best reviewer.

I do want to note a potential alternative - have you looked at using enableAggressiveFMAFusion() in DAGCombiner?
If you flip that switch for RISCV, the sub3 calculation in the last block would become:

	fmadd.d	ft1, ft0, fa1, fa0
	fnmsub.d	fa0, ft0, fa1, ft1

If the fma instruction timing is the same as plain fmul on your target, then is that even better than the 1 fmadd produced on the test here?

Jan 27 2023, 8:49 AM · Restricted Project, Restricted Project

Jan 25 2023

asi-sc added a comment to D141848: [Test] Fix YAML mapping keys duplication. NFC..

Ping

Jan 25 2023, 1:06 AM · Restricted Project, Restricted Project
asi-sc added a comment to D140474: [YAML IO] Check that mapping doesn't contain duplicating keys.

Ping

Jan 25 2023, 1:06 AM · Restricted Project, Restricted Project

Jan 18 2023

asi-sc committed rG3cba33c56f66: [RISCV][ISelLowering] Fix select lowering issue (authored by dybv-sc).
[RISCV][ISelLowering] Fix select lowering issue
Jan 18 2023, 4:10 AM · Restricted Project, Restricted Project
asi-sc closed D141395: [RISCV][ISelLowering] Fix select lowering issue.
Jan 18 2023, 4:10 AM · Restricted Project, Restricted Project
asi-sc added a comment to D140542: [MachineCombiner] Support local strategy for traces.

Gentle ping

Jan 18 2023, 1:07 AM · Restricted Project, Restricted Project

Jan 16 2023

asi-sc added reviewers for D141848: [Test] Fix YAML mapping keys duplication. NFC.: spowell, yota9, paquette, MaskRay, jakehehrlich.

Adding to review test creators as some changes are not trivial.

Jan 16 2023, 7:10 AM · Restricted Project, Restricted Project
asi-sc updated the diff for D140474: [YAML IO] Check that mapping doesn't contain duplicating keys.

Remove tests in yaml2obj, add unittest for YAMLIO

Jan 16 2023, 7:05 AM · Restricted Project, Restricted Project
asi-sc updated the diff for D141848: [Test] Fix YAML mapping keys duplication. NFC..

Remove one incorreclty added test

Jan 16 2023, 7:01 AM · Restricted Project, Restricted Project
asi-sc updated the diff for D140474: [YAML IO] Check that mapping doesn't contain duplicating keys.

Move test changes to a separate review D141848

Jan 16 2023, 6:46 AM · Restricted Project, Restricted Project
asi-sc requested review of D141848: [Test] Fix YAML mapping keys duplication. NFC..
Jan 16 2023, 6:45 AM · Restricted Project, Restricted Project

Jan 10 2023

asi-sc added a comment to D140542: [MachineCombiner] Support local strategy for traces.

For in-order cores MachineCombiner makes better decisions when the critical path

@asi-sc did you do any measurements to collect empirical data?

Jan 10 2023, 8:38 AM · Restricted Project, Restricted Project
asi-sc added a comment to D140540: [MachineTraceMetrics] Add local strategy.

Ping

Jan 10 2023, 12:17 AM · Restricted Project, Restricted Project
asi-sc added a comment to D140542: [MachineCombiner] Support local strategy for traces.

Ping

Jan 10 2023, 12:16 AM · Restricted Project, Restricted Project

Jan 9 2023

asi-sc added a comment to D140474: [YAML IO] Check that mapping doesn't contain duplicating keys.

Gentle ping

Jan 9 2023, 2:56 AM · Restricted Project, Restricted Project
asi-sc updated the diff for D140542: [MachineCombiner] Support local strategy for traces.

Rebase

Jan 9 2023, 2:42 AM · Restricted Project, Restricted Project
asi-sc updated the diff for D140541: [MachineCombiner][NFC] Rename `MinInstr` to `TraceEnsemble`.

Rebase

Jan 9 2023, 2:41 AM · Restricted Project, Restricted Project
asi-sc updated the diff for D140540: [MachineTraceMetrics] Add local strategy.

Rebase

Jan 9 2023, 2:40 AM · Restricted Project, Restricted Project
asi-sc updated the diff for D140539: [MachineTraceMetrics][NFC] Move Strategy enum out of the class.

Rebase

Jan 9 2023, 2:39 AM · Restricted Project, Restricted Project
asi-sc added a comment to D141017: [MachineCombiner] Use default latency model when no detailed model available.

Previously, we unconditionally applied the first legal pattern - without any consideration of profitability

Jan 9 2023, 1:57 AM · Restricted Project, Restricted Project
asi-sc updated the diff for D140474: [YAML IO] Check that mapping doesn't contain duplicating keys.

Rebase

Jan 9 2023, 1:35 AM · Restricted Project, Restricted Project

Dec 27 2022

asi-sc added a comment to D140602: [RISCV] Add fmin/fmax scalar instructions to isAssociativeAndCommutative.

LGTM too.

Dec 27 2022, 7:21 AM · Restricted Project, Restricted Project
asi-sc added a comment to D140530: [RISCV] Add integer scalar instructions to isAssociativeAndCommutative.

Thanks, no more comments from my side.

Dec 27 2022, 7:20 AM · Restricted Project, Restricted Project

Dec 26 2022

asi-sc added inline comments to D140530: [RISCV] Add integer scalar instructions to isAssociativeAndCommutative.
Dec 26 2022, 12:18 AM · Restricted Project, Restricted Project

Dec 23 2022

asi-sc added inline comments to D140602: [RISCV] Add fmin/fmax scalar instructions to isAssociativeAndCommutative.
Dec 23 2022, 2:24 AM · Restricted Project, Restricted Project
asi-sc added a comment to D140530: [RISCV] Add integer scalar instructions to isAssociativeAndCommutative.

Have you had a chance to make some performance measurements?

Dec 23 2022, 2:20 AM · Restricted Project, Restricted Project

Dec 22 2022

asi-sc added reviewers for D140542: [MachineCombiner] Support local strategy for traces: Gerolf, craig.topper, spatel, fhahn, asb.
Dec 22 2022, 5:20 AM · Restricted Project, Restricted Project
asi-sc added reviewers for D140541: [MachineCombiner][NFC] Rename `MinInstr` to `TraceEnsemble`: Gerolf, craig.topper, fhahn, spatel.
Dec 22 2022, 5:20 AM · Restricted Project, Restricted Project
asi-sc added reviewers for D140540: [MachineTraceMetrics] Add local strategy: stoklund, fhahn, craig.topper, spatel.
Dec 22 2022, 5:20 AM · Restricted Project, Restricted Project
asi-sc added reviewers for D140539: [MachineTraceMetrics][NFC] Move Strategy enum out of the class: stoklund, fhahn, craig.topper, spatel.
Dec 22 2022, 5:20 AM · Restricted Project, Restricted Project
asi-sc updated the diff for D140542: [MachineCombiner] Support local strategy for traces.

Update RISCV/machine-combiner.ll

Dec 22 2022, 4:49 AM · Restricted Project, Restricted Project
asi-sc updated the diff for D140542: [MachineCombiner] Support local strategy for traces.

Sync with changes in parent patches

Dec 22 2022, 3:33 AM · Restricted Project, Restricted Project
asi-sc updated the diff for D140541: [MachineCombiner][NFC] Rename `MinInstr` to `TraceEnsemble`.

Sync with changes in parent patches

Dec 22 2022, 3:30 AM · Restricted Project, Restricted Project
asi-sc updated the diff for D140539: [MachineTraceMetrics][NFC] Move Strategy enum out of the class.

Forgot to change enum name in MachineCombiner. Fixed

Dec 22 2022, 3:22 AM · Restricted Project, Restricted Project
asi-sc requested review of D140542: [MachineCombiner] Support local strategy for traces.
Dec 22 2022, 2:57 AM · Restricted Project, Restricted Project
asi-sc requested review of D140541: [MachineCombiner][NFC] Rename `MinInstr` to `TraceEnsemble`.
Dec 22 2022, 2:56 AM · Restricted Project, Restricted Project
asi-sc requested review of D140540: [MachineTraceMetrics] Add local strategy.
Dec 22 2022, 2:55 AM · Restricted Project, Restricted Project
asi-sc requested review of D140539: [MachineTraceMetrics][NFC] Move Strategy enum out of the class.
Dec 22 2022, 2:53 AM · Restricted Project, Restricted Project
asi-sc updated the diff for D140474: [YAML IO] Check that mapping doesn't contain duplicating keys.

Fix BOLT AArch64/plt-gnu-ld.test

Dec 22 2022, 12:20 AM · Restricted Project, Restricted Project

Dec 21 2022

asi-sc updated the diff for D140474: [YAML IO] Check that mapping doesn't contain duplicating keys.

Clang-format .cpp tests

Dec 21 2022, 7:14 AM · Restricted Project, Restricted Project
asi-sc added reviewers for D140474: [YAML IO] Check that mapping doesn't contain duplicating keys: kledzik, pcc, njames93.
Dec 21 2022, 5:53 AM · Restricted Project, Restricted Project
asi-sc requested review of D140474: [YAML IO] Check that mapping doesn't contain duplicating keys.
Dec 21 2022, 5:24 AM · Restricted Project, Restricted Project

Dec 15 2022

asi-sc committed rG1cdffa359a33: [MachineCombiner][RISCV] Support inverse instructions reassociation (authored by asi-sc).
[MachineCombiner][RISCV] Support inverse instructions reassociation
Dec 15 2022, 5:49 AM · Restricted Project, Restricted Project
asi-sc closed D138660: [MachineCombiner][RISCV] Support inverse instructions reassociation.
Dec 15 2022, 5:49 AM · Restricted Project, Restricted Project
asi-sc committed rG37f9eec14298: [RISCV] Allow conversion of fp divisions to fp multiplications by the reciprocal (authored by asi-sc).
[RISCV] Allow conversion of fp divisions to fp multiplications by the reciprocal
Dec 15 2022, 2:02 AM · Restricted Project, Restricted Project
asi-sc closed D140024: [RISCV] Allow conversion of fp divisions to fp multiplications by the reciprocal.
Dec 15 2022, 2:02 AM · Restricted Project, Restricted Project
asi-sc committed rG619f455dee06: [RISCV] Precommit test for D140024 (authored by asi-sc).
[RISCV] Precommit test for D140024
Dec 15 2022, 1:59 AM · Restricted Project, Restricted Project
asi-sc added a comment to D138660: [MachineCombiner][RISCV] Support inverse instructions reassociation.

A gentle ping.

Dec 15 2022, 12:09 AM · Restricted Project, Restricted Project

Dec 14 2022

asi-sc added reviewers for D140024: [RISCV] Allow conversion of fp divisions to fp multiplications by the reciprocal: craig.topper, liaolucy, frasercrmck.
Dec 14 2022, 7:08 AM · Restricted Project, Restricted Project
asi-sc requested review of D140024: [RISCV] Allow conversion of fp divisions to fp multiplications by the reciprocal.
Dec 14 2022, 6:31 AM · Restricted Project, Restricted Project

Dec 7 2022

asi-sc added reviewers for D138660: [MachineCombiner][RISCV] Support inverse instructions reassociation: craig.topper, asb.

Since we've moved RISCV reassociation implementation to generic machine combiner mechanism D138302 and added reassociation of inverse instructions to machine combiner in D136754, we now can enable reassociation of inverse for RISCV.

Dec 7 2022, 8:46 AM · Restricted Project, Restricted Project
asi-sc updated the summary of D138660: [MachineCombiner][RISCV] Support inverse instructions reassociation.
Dec 7 2022, 8:31 AM · Restricted Project, Restricted Project
asi-sc updated the diff for D138660: [MachineCombiner][RISCV] Support inverse instructions reassociation.

Add tests to cover fadd/fsub reassociation; rebase

Dec 7 2022, 4:21 AM · Restricted Project, Restricted Project
asi-sc committed rGf8ed7093452a: [MachineCombiner] Extend reassociation logic to handle inverse instructions (authored by asi-sc).
[MachineCombiner] Extend reassociation logic to handle inverse instructions
Dec 7 2022, 2:51 AM · Restricted Project, Restricted Project
asi-sc closed D136754: [MachineCombiner] Extend reassociation logic to handle inverse instructions.
Dec 7 2022, 2:51 AM · Restricted Project, Restricted Project

Dec 6 2022

asi-sc planned changes to D130895: [RISCV] Make VL choosing for a splat-like VMV based on its users.

Thanks for your feedback, Philip. I'll made some experiments with this change at my free time, so not abandoning it right now. However, I mark it as "plan changes" to remove it from review queues.

Dec 6 2022, 7:30 AM · Restricted Project, Restricted Project
asi-sc updated the diff for D136754: [MachineCombiner] Extend reassociation logic to handle inverse instructions.

Address review comments

Dec 6 2022, 1:09 AM · Restricted Project, Restricted Project

Dec 2 2022

asi-sc updated the diff for D138660: [MachineCombiner][RISCV] Support inverse instructions reassociation.

sync changes with parent revision, rebase

Dec 2 2022, 8:04 AM · Restricted Project, Restricted Project
asi-sc updated the diff for D136754: [MachineCombiner] Extend reassociation logic to handle inverse instructions.

Change Optional to std::optional, rebase

Dec 2 2022, 8:02 AM · Restricted Project, Restricted Project
asi-sc added a comment to D130895: [RISCV] Make VL choosing for a splat-like VMV based on its users.

@reames , could you please take a look at my previous comment? If you still think we should proceed with the minimized version you made, will you drive the review process? I don't see any progress there for three weeks.

Dec 2 2022, 5:05 AM · Restricted Project, Restricted Project
asi-sc committed rGa8a376cbc996: [RISCV] Add correct predicate over FMV instructions (authored by kv-sc).
[RISCV] Add correct predicate over FMV instructions
Dec 2 2022, 2:46 AM · Restricted Project, Restricted Project
asi-sc closed D139105: [RISCV] Add correct predicate over FMV instructions.
Dec 2 2022, 2:46 AM · Restricted Project, Restricted Project