Page MenuHomePhabricator

mtrofin (Mircea Trofin)
User

Projects

User does not belong to any projects.

User Details

User Since
Feb 10 2015, 11:03 PM (423 w, 4 d)

Recent Activity

Mon, Mar 20

mtrofin accepted D146446: [AlwaysInliner] Make legacy pass like the new pass.

neat! lgtm

Mon, Mar 20, 1:39 PM · Restricted Project, Restricted Project
mtrofin added a reviewer for D146446: [AlwaysInliner] Make legacy pass like the new pass: kazu.
Mon, Mar 20, 1:39 PM · Restricted Project, Restricted Project

Thu, Mar 16

mtrofin committed rG762253b048e9: [DAE] Don't DAE if we musttail call a "live" (non-DAE-able) function (authored by mtrofin).
[DAE] Don't DAE if we musttail call a "live" (non-DAE-able) function
Thu, Mar 16, 1:59 PM · Restricted Project, Restricted Project
mtrofin closed D145209: [DAE] Don't DAE if we musttail call a "live" (non-DAE-able) function.
Thu, Mar 16, 1:59 PM · Restricted Project, Restricted Project
mtrofin added a comment to D145209: [DAE] Don't DAE if we musttail call a "live" (non-DAE-able) function.

Tried out the change on compile-time tracker, seems very neutral: http://llvm-compile-time-tracker.com/compare.php?from=2e8ef93439a4a430fe5f96b9d999ce96405345f4&to=c4b2e5550264027608d40db0da53b1b9019d45a2&stat=instructions:u

Thu, Mar 16, 1:16 PM · Restricted Project, Restricted Project

Tue, Mar 14

mtrofin added inline comments to D145209: [DAE] Don't DAE if we musttail call a "live" (non-DAE-able) function.
Tue, Mar 14, 8:48 AM · Restricted Project, Restricted Project
mtrofin updated the diff for D145209: [DAE] Don't DAE if we musttail call a "live" (non-DAE-able) function.

gen test with update_test_checks

Tue, Mar 14, 8:47 AM · Restricted Project, Restricted Project

Thu, Mar 9

mtrofin added inline comments to D145209: [DAE] Don't DAE if we musttail call a "live" (non-DAE-able) function.
Thu, Mar 9, 8:11 AM · Restricted Project, Restricted Project
mtrofin updated the diff for D145209: [DAE] Don't DAE if we musttail call a "live" (non-DAE-able) function.

feedback

Thu, Mar 9, 8:08 AM · Restricted Project, Restricted Project

Wed, Mar 8

mtrofin added a comment to D145209: [DAE] Don't DAE if we musttail call a "live" (non-DAE-able) function.

@efriedma , is this patch good to go? Thanks!

Wed, Mar 8, 7:34 AM · Restricted Project, Restricted Project

Tue, Mar 7

mtrofin committed rG795aebf38831: [Inliner][NFC] Remove redundant nullptr check (authored by AlexM).
[Inliner][NFC] Remove redundant nullptr check
Tue, Mar 7, 5:23 PM · Restricted Project, Restricted Project
mtrofin closed D145463: [Inliner][NFC] Remove redundant nullptr check.
Tue, Mar 7, 5:22 PM · Restricted Project, Restricted Project
mtrofin accepted D145463: [Inliner][NFC] Remove redundant nullptr check.
Tue, Mar 7, 12:09 PM · Restricted Project, Restricted Project
mtrofin added a comment to D145463: [Inliner][NFC] Remove redundant nullptr check.

Would adding an assert(Callee && "Expected to be non-null due to check at the start of the loop") (or something like that) above the if-check make Coverity happy?

Either removing the check completely or moving it from the if to an assert will make Coverity happy. Would the assert be preferable to complete removal from a stylistic/readability perspective?

Tue, Mar 7, 10:59 AM · Restricted Project, Restricted Project
mtrofin added inline comments to D145209: [DAE] Don't DAE if we musttail call a "live" (non-DAE-able) function.
Tue, Mar 7, 10:57 AM · Restricted Project, Restricted Project
mtrofin updated the diff for D145209: [DAE] Don't DAE if we musttail call a "live" (non-DAE-able) function.

more clarity

Tue, Mar 7, 10:56 AM · Restricted Project, Restricted Project
mtrofin added a comment to D145463: [Inliner][NFC] Remove redundant nullptr check.

I'm very new to this and trying to get my toes wet in the review process with some very minor non-controversial changes. Please let me know if I've made any mistakes in the process.

Tue, Mar 7, 9:51 AM · Restricted Project, Restricted Project
mtrofin added inline comments to D145209: [DAE] Don't DAE if we musttail call a "live" (non-DAE-able) function.
Tue, Mar 7, 7:20 AM · Restricted Project, Restricted Project

Mon, Mar 6

mtrofin updated the summary of D145209: [DAE] Don't DAE if we musttail call a "live" (non-DAE-able) function.
Mon, Mar 6, 1:31 PM · Restricted Project, Restricted Project
mtrofin updated the summary of D145209: [DAE] Don't DAE if we musttail call a "live" (non-DAE-able) function.
Mon, Mar 6, 1:30 PM · Restricted Project, Restricted Project
mtrofin added inline comments to D145209: [DAE] Don't DAE if we musttail call a "live" (non-DAE-able) function.
Mon, Mar 6, 1:25 PM · Restricted Project, Restricted Project
mtrofin updated the diff for D145209: [DAE] Don't DAE if we musttail call a "live" (non-DAE-able) function.

clarify it's not about indirect calls only

Mon, Mar 6, 1:25 PM · Restricted Project, Restricted Project
mtrofin added a reviewer for D145209: [DAE] Don't DAE if we musttail call a "live" (non-DAE-able) function: efriedma.
Mon, Mar 6, 1:11 PM · Restricted Project, Restricted Project
mtrofin added a comment to D145209: [DAE] Don't DAE if we musttail call a "live" (non-DAE-able) function.

I *think* @rnk is out for a few weeks, @nikic, does the patch look reasonable to you?

Mon, Mar 6, 12:56 PM · Restricted Project, Restricted Project

Fri, Mar 3

mtrofin updated the diff for D145209: [DAE] Don't DAE if we musttail call a "live" (non-DAE-able) function.

handle cycles

Fri, Mar 3, 11:14 AM · Restricted Project, Restricted Project
mtrofin updated the diff for D145209: [DAE] Don't DAE if we musttail call a "live" (non-DAE-able) function.

<eyeroll>

Fri, Mar 3, 11:00 AM · Restricted Project, Restricted Project
mtrofin retitled D145209: [DAE] Don't DAE if we musttail call a "live" (non-DAE-able) function from [DAE] Don't DAE if we musttail a "live" (non-DAE-able) function to [DAE] Don't DAE if we musttail call a "live" (non-DAE-able) function.
Fri, Mar 3, 10:40 AM · Restricted Project, Restricted Project
mtrofin updated the diff for D145209: [DAE] Don't DAE if we musttail call a "live" (non-DAE-able) function.

remove spurious member

Fri, Mar 3, 10:33 AM · Restricted Project, Restricted Project
mtrofin retitled D145209: [DAE] Don't DAE if we musttail call a "live" (non-DAE-able) function from [DAE] Don't change the return type if we have virtual musttail calls to [DAE] Don't DAE if we musttail a "live" (non-DAE-able) function .
Fri, Mar 3, 8:06 AM · Restricted Project, Restricted Project
mtrofin updated the diff for D145209: [DAE] Don't DAE if we musttail call a "live" (non-DAE-able) function.

non-virt

Fri, Mar 3, 8:04 AM · Restricted Project, Restricted Project

Thu, Mar 2

mtrofin updated the diff for D145209: [DAE] Don't DAE if we musttail call a "live" (non-DAE-able) function.

propagate

Thu, Mar 2, 10:55 PM · Restricted Project, Restricted Project
mtrofin added inline comments to D145209: [DAE] Don't DAE if we musttail call a "live" (non-DAE-able) function.
Thu, Mar 2, 10:22 PM · Restricted Project, Restricted Project
mtrofin updated the diff for D145209: [DAE] Don't DAE if we musttail call a "live" (non-DAE-able) function.

newline at end of test file

Thu, Mar 2, 6:49 PM · Restricted Project, Restricted Project
mtrofin retitled D145209: [DAE] Don't DAE if we musttail call a "live" (non-DAE-able) function from [DeadArgElim] Don't change the return type if we have virtual musttail calls to [DAE] Don't change the return type if we have virtual musttail calls.
Thu, Mar 2, 6:48 PM · Restricted Project, Restricted Project
mtrofin requested review of D145209: [DAE] Don't DAE if we musttail call a "live" (non-DAE-able) function.
Thu, Mar 2, 6:48 PM · Restricted Project, Restricted Project

Tue, Feb 28

mtrofin committed rGe281d102fb73: [unittest] Restructure plugin cmake target (authored by IBricchi).
[unittest] Restructure plugin cmake target
Tue, Feb 28, 8:33 AM · Restricted Project, Restricted Project
mtrofin closed D140588: [unittest] Restructure plugin cmake target.
Tue, Feb 28, 8:33 AM · Restricted Project, Restricted Project

Feb 14 2023

mtrofin committed rG8cf1524cbc7f: [loop unroll] Fix `branch-weights` for unrolled loop. (authored by mtrofin).
[loop unroll] Fix `branch-weights` for unrolled loop.
Feb 14 2023, 12:01 PM · Restricted Project, Restricted Project
mtrofin closed D143948: [loop unroll] Fix `branch-weights` for unrolled loop..
Feb 14 2023, 12:01 PM · Restricted Project, Restricted Project
mtrofin added a comment to D143948: [loop unroll] Fix `branch-weights` for unrolled loop..

It's a bit surprising that issues like this went unnoticed for so long... Thanks for the fix.

Feb 14 2023, 11:29 AM · Restricted Project, Restricted Project
mtrofin updated the diff for D143948: [loop unroll] Fix `branch-weights` for unrolled loop..

feedback

Feb 14 2023, 11:28 AM · Restricted Project, Restricted Project

Feb 13 2023

mtrofin requested review of D143948: [loop unroll] Fix `branch-weights` for unrolled loop..
Feb 13 2023, 1:43 PM · Restricted Project, Restricted Project

Feb 11 2023

mtrofin committed rG4afb1ee7bc0e: Specify target triple for bb-prefix-dump.ll (authored by mtrofin).
Specify target triple for bb-prefix-dump.ll
Feb 11 2023, 2:03 PM · Restricted Project, Restricted Project
mtrofin closed D143815: Specify target triple for bb-prefix-dump.ll.
Feb 11 2023, 2:03 PM · Restricted Project, Restricted Project
mtrofin added a comment to D143311: [MLGO] Add BB Profile Dump Pass for Regalloc Case.

The enable of this test without tflite broke tests on Mac: http://45.33.8.238/macm1/54722/step_11.txt

Please take a look and revert for now if it takes a while to fix.

(Saying this here since the other change doesn't have a phab link in its commit message.)

Feb 11 2023, 8:07 AM · Restricted Project, Restricted Project
mtrofin added reviewers for D143815: Specify target triple for bb-prefix-dump.ll: thakis, aidengrossman.
Feb 11 2023, 8:02 AM · Restricted Project, Restricted Project
mtrofin requested review of D143815: Specify target triple for bb-prefix-dump.ll.
Feb 11 2023, 8:01 AM · Restricted Project, Restricted Project
mtrofin added a comment to D143311: [MLGO] Add BB Profile Dump Pass for Regalloc Case.

The enable of this test without tflite broke tests on Mac: http://45.33.8.238/macm1/54722/step_11.txt

Please take a look and revert for now if it takes a while to fix.

(Saying this here since the other change doesn't have a phab link in its commit message.)

Feb 11 2023, 7:08 AM · Restricted Project, Restricted Project

Feb 10 2023

mtrofin added a reverting change for rGdc4c3cfd78c0: [mlgo] Fix test after D143624: rGb87e53ee2ad1: Revert "[mlgo] Fix test after D143624".
Feb 10 2023, 7:48 AM · Restricted Project, Restricted Project
mtrofin committed rGb87e53ee2ad1: Revert "[mlgo] Fix test after D143624" (authored by mtrofin).
Revert "[mlgo] Fix test after D143624"
Feb 10 2023, 7:48 AM · Restricted Project, Restricted Project

Feb 9 2023

mtrofin committed rGdc4c3cfd78c0: [mlgo] Fix test after D143624 (authored by mtrofin).
[mlgo] Fix test after D143624
Feb 9 2023, 9:15 PM · Restricted Project, Restricted Project
mtrofin added a comment to D143624: Inlining: Run the legacy AlwaysInliner before the regular inliner..

Had a chat offline with @mtrofin, wanted to be clear for future purposes that we do need the separate AlwaysInliner pass because it's used in -O0 and constructing a call graph there is non-trivial in terms of compile time.

Feb 9 2023, 3:37 PM · Restricted Project, Restricted Project, Restricted Project
mtrofin accepted D143624: Inlining: Run the legacy AlwaysInliner before the regular inliner..

lgtm. Like @aeubanks was saying, let's just give a bit of time (1 month or so?) between when this lands and until we clean up the "mandatory" notion from the advisor, just to make sure nothing breaks/regresses.

Feb 9 2023, 3:35 PM · Restricted Project, Restricted Project, Restricted Project
mtrofin added a comment to D143624: Inlining: Run the legacy AlwaysInliner before the regular inliner..

__clang_hip_math.hip is annoying...

We'll need to remove the MandatoryFirst inliner in ModuleInlinerWrapperPass, although not sure if @mtrofin has any issues with that or not

Feb 9 2023, 11:55 AM · Restricted Project, Restricted Project, Restricted Project

Feb 8 2023

mtrofin accepted D143311: [MLGO] Add BB Profile Dump Pass for Regalloc Case.
Feb 8 2023, 1:54 PM · Restricted Project, Restricted Project
mtrofin added a comment to D143311: [MLGO] Add BB Profile Dump Pass for Regalloc Case.

Thanks for doing this, looks so much simpler - basically ready to go imho after addressing the error handling comment

Feb 8 2023, 8:59 AM · Restricted Project, Restricted Project

Feb 7 2023

mtrofin added inline comments to D143311: [MLGO] Add BB Profile Dump Pass for Regalloc Case.
Feb 7 2023, 7:55 AM · Restricted Project, Restricted Project

Feb 6 2023

mtrofin committed rWee408f563ddd: [gsoc2023] bump entry for pass ordering project to 2023 (authored by mtrofin).
[gsoc2023] bump entry for pass ordering project to 2023
Feb 6 2023, 3:55 PM · Restricted Project
mtrofin closed D143403: [gsoc2023] bump entry for pass ordering project to 2023.
Feb 6 2023, 3:55 PM · Restricted Project
mtrofin added inline comments to D143403: [gsoc2023] bump entry for pass ordering project to 2023.
Feb 6 2023, 3:54 PM · Restricted Project
mtrofin updated the diff for D143403: [gsoc2023] bump entry for pass ordering project to 2023.

rebase & feedback

Feb 6 2023, 3:54 PM · Restricted Project
mtrofin added inline comments to D143311: [MLGO] Add BB Profile Dump Pass for Regalloc Case.
Feb 6 2023, 3:48 PM · Restricted Project, Restricted Project
mtrofin committed rG1b80ccba0f9b: [mlgo][regalloc] Handle training case when no regalloc happens. (authored by mtrofin).
[mlgo][regalloc] Handle training case when no regalloc happens.
Feb 6 2023, 1:57 PM · Restricted Project, Restricted Project
mtrofin closed D143359: [mlgo][regalloc] Handle training case when no regalloc happens..
Feb 6 2023, 1:57 PM · Restricted Project, Restricted Project
mtrofin added a comment to D143311: [MLGO] Add BB Profile Dump Pass for Regalloc Case.

You'll need to update the failing pass structure tests, when you do, can you put a comment there (in the tests) that this pass must be right before asmprinter to make sure nothing mutates MBB freqs?

Feb 6 2023, 11:22 AM · Restricted Project, Restricted Project
mtrofin added a reviewer for D143311: [MLGO] Add BB Profile Dump Pass for Regalloc Case: ondrasej.
Feb 6 2023, 11:14 AM · Restricted Project, Restricted Project
mtrofin committed rWcdfa4297c038: Moved a 2023 GSoC entry to 2023 (authored by mtrofin).
Moved a 2023 GSoC entry to 2023
Feb 6 2023, 10:13 AM · Restricted Project
mtrofin updated the diff for D143403: [gsoc2023] bump entry for pass ordering project to 2023.

cloned 2022->2023 entry, relabeled ID

Feb 6 2023, 10:10 AM · Restricted Project
mtrofin committed rW0c23949eac71: [mlgo] Add latency modeling topic to 2023 GSoC (authored by mtrofin).
[mlgo] Add latency modeling topic to 2023 GSoC
Feb 6 2023, 10:08 AM · Restricted Project
mtrofin closed D143290: [mlgo] Add latency modeling topic to 2023 GSoC.
Feb 6 2023, 10:08 AM · Restricted Project
mtrofin added inline comments to D143290: [mlgo] Add latency modeling topic to 2023 GSoC.
Feb 6 2023, 8:55 AM · Restricted Project
mtrofin updated the diff for D143290: [mlgo] Add latency modeling topic to 2023 GSoC.

feedback

Feb 6 2023, 8:54 AM · Restricted Project
mtrofin added inline comments to D143403: [gsoc2023] bump entry for pass ordering project to 2023.
Feb 6 2023, 8:28 AM · Restricted Project
mtrofin added inline comments to D143403: [gsoc2023] bump entry for pass ordering project to 2023.
Feb 6 2023, 7:40 AM · Restricted Project
mtrofin added reviewers for D143403: [gsoc2023] bump entry for pass ordering project to 2023: tarinduj, asl.
Feb 6 2023, 7:39 AM · Restricted Project
mtrofin requested review of D143403: [gsoc2023] bump entry for pass ordering project to 2023.
Feb 6 2023, 7:38 AM · Restricted Project

Feb 5 2023

mtrofin requested review of D143359: [mlgo][regalloc] Handle training case when no regalloc happens..
Feb 5 2023, 5:21 PM · Restricted Project, Restricted Project

Feb 4 2023

mtrofin added a comment to D143218: [mlgo] Hook up the interactive runner to the mlgo-ed passes.

There still seems to be failures related to this change, can you take a look please?

https://lab.llvm.org/buildbot/#/builders/247/builds/1260

Feb 4 2023, 12:19 PM · Restricted Project, Restricted Project
mtrofin committed rG062380c86f06: [mlgo] Bump the unsupported versions for interactive tests to 3.8 (authored by mtrofin).
[mlgo] Bump the unsupported versions for interactive tests to 3.8
Feb 4 2023, 12:17 PM · Restricted Project, Restricted Project

Feb 3 2023

mtrofin committed rG445ea1e77751: [mlgo] only enable interactive mode tests on linux (authored by mtrofin).
[mlgo] only enable interactive mode tests on linux
Feb 3 2023, 7:58 PM · Restricted Project, Restricted Project
mtrofin added inline comments to D142168: [mlgo] Stream the training data.
Feb 3 2023, 7:50 PM · Restricted Project, Restricted Project
mtrofin committed rG79f7a5e02bf6: [mlgo] Disable mlgo tests when python version is 6 (authored by mtrofin).
[mlgo] Disable mlgo tests when python version is 6
Feb 3 2023, 7:45 PM · Restricted Project, Restricted Project
mtrofin committed rGd62cdfadc054: [mlgo] fixes for old python versions (authored by mtrofin).
[mlgo] fixes for old python versions
Feb 3 2023, 6:09 PM · Restricted Project, Restricted Project
mtrofin committed rGb72e893d1d8e: [mlgo] Fix type annotation in log_reader, for older python3 versions (authored by mtrofin).
[mlgo] Fix type annotation in log_reader, for older python3 versions
Feb 3 2023, 6:04 PM · Restricted Project, Restricted Project
mtrofin added inline comments to D142168: [mlgo] Stream the training data.
Feb 3 2023, 6:02 PM · Restricted Project, Restricted Project
mtrofin added a reverting change for rGa772f0bb920a: Revert "[mlgo] Hook up the interactive runner to the mlgo-ed passes": rG5fd51fcba6a5: Reland "[mlgo] Hook up the interactive runner to the mlgo-ed passes".
Feb 3 2023, 5:55 PM · Restricted Project, Restricted Project
mtrofin committed rG5fd51fcba6a5: Reland "[mlgo] Hook up the interactive runner to the mlgo-ed passes" (authored by mtrofin).
Reland "[mlgo] Hook up the interactive runner to the mlgo-ed passes"
Feb 3 2023, 5:55 PM · Restricted Project, Restricted Project
mtrofin added a reverting change for rGa7354899d1a2: [mlgo] Hook up the interactive runner to the mlgo-ed passes: rGa772f0bb920a: Revert "[mlgo] Hook up the interactive runner to the mlgo-ed passes".
Feb 3 2023, 4:36 PM · Restricted Project, Restricted Project
mtrofin committed rGa772f0bb920a: Revert "[mlgo] Hook up the interactive runner to the mlgo-ed passes" (authored by mtrofin).
Revert "[mlgo] Hook up the interactive runner to the mlgo-ed passes"
Feb 3 2023, 4:36 PM · Restricted Project, Restricted Project
mtrofin added a reverting change for D143218: [mlgo] Hook up the interactive runner to the mlgo-ed passes: rGa772f0bb920a: Revert "[mlgo] Hook up the interactive runner to the mlgo-ed passes".
Feb 3 2023, 4:35 PM · Restricted Project, Restricted Project
mtrofin committed rGa7354899d1a2: [mlgo] Hook up the interactive runner to the mlgo-ed passes (authored by mtrofin).
[mlgo] Hook up the interactive runner to the mlgo-ed passes
Feb 3 2023, 4:23 PM · Restricted Project, Restricted Project
mtrofin closed D143218: [mlgo] Hook up the interactive runner to the mlgo-ed passes.
Feb 3 2023, 4:23 PM · Restricted Project, Restricted Project
mtrofin added inline comments to D143218: [mlgo] Hook up the interactive runner to the mlgo-ed passes.
Feb 3 2023, 3:04 PM · Restricted Project, Restricted Project
mtrofin updated the diff for D143218: [mlgo] Hook up the interactive runner to the mlgo-ed passes.

feedback

Feb 3 2023, 3:03 PM · Restricted Project, Restricted Project
mtrofin added a reviewer for D143290: [mlgo] Add latency modeling topic to 2023 GSoC: asl.
Feb 3 2023, 12:27 PM · Restricted Project
mtrofin requested review of D143290: [mlgo] Add latency modeling topic to 2023 GSoC.
Feb 3 2023, 12:26 PM · Restricted Project

Feb 2 2023

mtrofin requested review of D143218: [mlgo] Hook up the interactive runner to the mlgo-ed passes.
Feb 2 2023, 2:51 PM · Restricted Project, Restricted Project
mtrofin committed rG954cf9a7d485: [mlgo][nfc] Refactor the log_reader.py utility (authored by mtrofin).
[mlgo][nfc] Refactor the log_reader.py utility
Feb 2 2023, 2:43 PM · Restricted Project, Restricted Project
mtrofin added a reverting change for rG735f117f4d0d: Revert "[mlgo][nfc] Better pretty printing of interactive mode reply": rG9b06f756b243: Reapply 9cffabc68ca380be937e192be909feff7b144822.
Feb 2 2023, 8:45 AM · Restricted Project, Restricted Project
mtrofin committed rG9b06f756b243: Reapply 9cffabc68ca380be937e192be909feff7b144822 (authored by mtrofin).
Reapply 9cffabc68ca380be937e192be909feff7b144822
Feb 2 2023, 8:45 AM · Restricted Project, Restricted Project