Page MenuHomePhabricator

tejohnson (Teresa Johnson)
User

Projects

User does not belong to any projects.

User Details

User Since
Apr 27 2015, 11:17 AM (423 w, 3 d)

Recent Activity

Today

tejohnson committed rGe5479f27f20f: [MemProf] Remove stale comment (NFC) (authored by tejohnson).
[MemProf] Remove stale comment (NFC)
Thu, Jun 8, 12:31 PM · Restricted Project, Restricted Project
tejohnson committed rG4638eb26603c: [ThinLTO] Ignore callee edge to global variable (authored by tejohnson).
[ThinLTO] Ignore callee edge to global variable
Thu, Jun 8, 6:44 AM · Restricted Project, Restricted Project
tejohnson closed D152406: [ThinLTO] Ignore callee edge to global variable.
Thu, Jun 8, 6:44 AM · Restricted Project, Restricted Project

Yesterday

tejohnson requested review of D152406: [ThinLTO] Ignore callee edge to global variable.
Wed, Jun 7, 3:50 PM · Restricted Project, Restricted Project

Fri, Jun 2

tejohnson committed rG456468a08aac: [ThinLTO] Fix internalization decisions for weak/linkonce ODR (authored by tejohnson).
[ThinLTO] Fix internalization decisions for weak/linkonce ODR
Fri, Jun 2, 3:35 PM · Restricted Project, Restricted Project
tejohnson closed D151965: [ThinLTO] Fix internalization decisions for weak/linkonce ODR.
Fri, Jun 2, 3:34 PM · Restricted Project, Restricted Project, Restricted Project
tejohnson added a comment to D151965: [ThinLTO] Fix internalization decisions for weak/linkonce ODR.

The only way I can think of to test that is to use llvm-lto with --exported-symbol=, which preserves that symbol via ThinLTOCodeGenerator::preserveSymbol.

So the new API users don't use the exported symbol function? Then current test case looks fine to me.

Fri, Jun 2, 2:15 PM · Restricted Project, Restricted Project, Restricted Project
tejohnson added a comment to D151965: [ThinLTO] Fix internalization decisions for weak/linkonce ODR.

I think this should work for legacy API. ld64 always picks the prevailing one to be from native object file and ask LTO to reserve the symbol (so LTO cannot internalize them) so it doesn't really hit the bug mentioned. It is not the ideal solution but it is the best can be done when no symbol resolution information is available from API.

It should be safe to assume atom only gets referenced once if there is only one visible and it is not in the reserved symbol list. I don't think preserved symbols will turn into prevailing, but I don't think they can be internalized in this case too. Would be good to add a test case to make sure if the weak/linkonce in the preserve GUID will get the correct behavior.

Fri, Jun 2, 12:49 PM · Restricted Project, Restricted Project, Restricted Project
tejohnson accepted D150396: [InlineCost] Check for conflicting target attributes early.

lgtm

Fri, Jun 2, 10:56 AM · Restricted Project, Restricted Project

Thu, Jun 1

tejohnson requested review of D151965: [ThinLTO] Fix internalization decisions for weak/linkonce ODR.
Thu, Jun 1, 8:57 PM · Restricted Project, Restricted Project, Restricted Project
tejohnson committed rG06bb94832d0d: [ThinLTO] Restructure promotion / internalization decisions (NFC) (authored by tejohnson).
[ThinLTO] Restructure promotion / internalization decisions (NFC)
Thu, Jun 1, 9:09 AM · Restricted Project, Restricted Project

Wed, May 31

tejohnson committed rG96fb18a32a7b: Revert "[ThinLTO] Disable partial sample profile scaling by default" (authored by tejohnson).
Revert "[ThinLTO] Disable partial sample profile scaling by default"
Wed, May 31, 10:25 AM · Restricted Project, Restricted Project
tejohnson added a reverting change for rGaae8524bcc26: [ThinLTO] Disable partial sample profile scaling by default: rG96fb18a32a7b: Revert "[ThinLTO] Disable partial sample profile scaling by default".
Wed, May 31, 10:25 AM · Restricted Project, Restricted Project
tejohnson added a reverting change for D151249: [ThinLTO] Disable partial sample profile scaling by default: rG96fb18a32a7b: Revert "[ThinLTO] Disable partial sample profile scaling by default".
Wed, May 31, 10:25 AM · Restricted Project, Restricted Project

Fri, May 26

tejohnson committed rGf354e971b09c: [MemProf] Clean up MemProf instrumentation pass invocation (authored by tejohnson).
[MemProf] Clean up MemProf instrumentation pass invocation
Fri, May 26, 5:39 PM · Restricted Project, Restricted Project, Restricted Project
tejohnson closed D151593: [MemProf] Clean up MemProf instrumentation pass invocation.
Fri, May 26, 5:39 PM · Restricted Project, Restricted Project, Restricted Project
tejohnson added inline comments to D151593: [MemProf] Clean up MemProf instrumentation pass invocation.
Fri, May 26, 3:51 PM · Restricted Project, Restricted Project, Restricted Project
tejohnson added inline comments to D151593: [MemProf] Clean up MemProf instrumentation pass invocation.
Fri, May 26, 3:18 PM · Restricted Project, Restricted Project, Restricted Project
tejohnson requested review of D151593: [MemProf] Clean up MemProf instrumentation pass invocation.
Fri, May 26, 3:12 PM · Restricted Project, Restricted Project, Restricted Project

Thu, May 25

tejohnson added inline comments to D146776: [llvm] Preliminary fat-lto-objects support.
Thu, May 25, 11:37 AM · Restricted Project, Restricted Project
tejohnson committed rGaae8524bcc26: [ThinLTO] Disable partial sample profile scaling by default (authored by tejohnson).
[ThinLTO] Disable partial sample profile scaling by default
Thu, May 25, 8:33 AM · Restricted Project, Restricted Project
tejohnson closed D151249: [ThinLTO] Disable partial sample profile scaling by default.
Thu, May 25, 8:33 AM · Restricted Project, Restricted Project

Tue, May 23

tejohnson added inline comments to D150396: [InlineCost] Check for conflicting target attributes early.
Tue, May 23, 3:00 PM · Restricted Project, Restricted Project
tejohnson requested review of D151249: [ThinLTO] Disable partial sample profile scaling by default.
Tue, May 23, 1:11 PM · Restricted Project, Restricted Project

Fri, May 19

tejohnson added inline comments to D123803: [WIP][llvm] A Unified LTO Bitcode Frontend.
Fri, May 19, 2:42 PM · Restricted Project, Restricted Project
tejohnson added inline comments to D123803: [WIP][llvm] A Unified LTO Bitcode Frontend.
Fri, May 19, 7:27 AM · Restricted Project, Restricted Project

Fri, May 12

tejohnson committed rG19c5740a5a3a: [MemProf] Set hot/cold new values with option (authored by tejohnson).
[MemProf] Set hot/cold new values with option
Fri, May 12, 3:47 PM · Restricted Project, Restricted Project
tejohnson closed D150488: [MemProf] Set hot/cold new values with option.
Fri, May 12, 3:47 PM · Restricted Project, Restricted Project
tejohnson added inline comments to D150488: [MemProf] Set hot/cold new values with option.
Fri, May 12, 3:43 PM · Restricted Project, Restricted Project
tejohnson added inline comments to D150488: [MemProf] Set hot/cold new values with option.
Fri, May 12, 3:17 PM · Restricted Project, Restricted Project
tejohnson requested review of D150488: [MemProf] Set hot/cold new values with option.
Fri, May 12, 2:59 PM · Restricted Project, Restricted Project

Thu, May 11

tejohnson accepted D150148: [IPO] Opt-in local clones for thinlto imports.

lgtm

Thu, May 11, 3:55 PM · Restricted Project, Restricted Project
tejohnson accepted D149446: [Pipelines] Don't skip GlobalDCE in ThinLTO pre-link.

Thanks @mingmingl for digging into the effects!

Thu, May 11, 3:24 PM · Restricted Project, Restricted Project
tejohnson added a comment to D150148: [IPO] Opt-in local clones for thinlto imports.

Just a few minor comments/suggestions

Thu, May 11, 3:06 PM · Restricted Project, Restricted Project
tejohnson added inline comments to D150396: [InlineCost] Check for conflicting target attributes early.
Thu, May 11, 1:49 PM · Restricted Project, Restricted Project
tejohnson added inline comments to D150396: [InlineCost] Check for conflicting target attributes early.
Thu, May 11, 1:15 PM · Restricted Project, Restricted Project
tejohnson added a comment to D150148: [IPO] Opt-in local clones for thinlto imports.

Can we do this during the importing process? E.g. somewhere in FunctionImportGlobalProcessing::processGlobalForThinLTO.

Thu, May 11, 11:59 AM · Restricted Project, Restricted Project
tejohnson committed rGa40b0c3e77a2: [WPD] Update llvm.public.type.test after importing functions (authored by tejohnson).
[WPD] Update llvm.public.type.test after importing functions
Thu, May 11, 9:11 AM · Restricted Project, Restricted Project, Restricted Project
tejohnson closed D150326: [WPD] Update llvm.public.type.test after importing functions.
Thu, May 11, 9:10 AM · Restricted Project, Restricted Project, Restricted Project
tejohnson updated the diff for D150326: [WPD] Update llvm.public.type.test after importing functions.

Address comment

Thu, May 11, 9:10 AM · Restricted Project, Restricted Project, Restricted Project
tejohnson added inline comments to D150326: [WPD] Update llvm.public.type.test after importing functions.
Thu, May 11, 9:10 AM · Restricted Project, Restricted Project, Restricted Project

Wed, May 10

tejohnson committed rG657dbb4c394d: Remove accidentally committed empty file (authored by tejohnson).
Remove accidentally committed empty file
Wed, May 10, 6:46 PM · Restricted Project
tejohnson added a comment to D149932: [MemProf] Add hot allocation type.

empty hot-alloctype.patch is still there, the file looks like a typo?

Yes, it looks like that was accidentally added into the patch and got committed. I will remove that.

Wed, May 10, 6:46 PM · Restricted Project, Restricted Project
tejohnson added a comment to D149932: [MemProf] Add hot allocation type.

empty hot-alloctype.patch is still there, the file looks like a typo?

Wed, May 10, 6:42 PM · Restricted Project, Restricted Project
tejohnson requested review of D150326: [WPD] Update llvm.public.type.test after importing functions.
Wed, May 10, 4:12 PM · Restricted Project, Restricted Project, Restricted Project
tejohnson committed rG9e280c47588b: [MemProf] Update hot/cold information after importing (authored by tejohnson).
[MemProf] Update hot/cold information after importing
Wed, May 10, 2:59 PM · Restricted Project, Restricted Project, Restricted Project
tejohnson closed D150295: [MemProf] Update hot/cold information after importing.
Wed, May 10, 2:58 PM · Restricted Project, Restricted Project, Restricted Project
tejohnson requested review of D150295: [MemProf] Update hot/cold information after importing.
Wed, May 10, 1:18 PM · Restricted Project, Restricted Project, Restricted Project

May 8 2023

tejohnson added a comment to D149932: [MemProf] Add hot allocation type.

@kanwu, this change seems to break on a Windows build bot, can you take a look and revert if you need time to investigate? (I'm not sure why you were not listed in the changes for this build on buildbot)
https://lab.llvm.org/buildbot/#/builders/216/builds/20923

I committed it for Kan, odd that the buildbots don't seem to be including this change specifically. Looks like some platforms don't recognize "uint". I will commit a fix in a few mins to use "unsigned" instead.

May 8 2023, 11:27 AM · Restricted Project, Restricted Project
tejohnson committed rG57d71cba0a84: Fix for windows bot failure (switch uint to unsigned) (authored by tejohnson).
Fix for windows bot failure (switch uint to unsigned)
May 8 2023, 11:27 AM · Restricted Project, Restricted Project
tejohnson added a comment to D149932: [MemProf] Add hot allocation type.

@kanwu, this change seems to break on a Windows build bot, can you take a look and revert if you need time to investigate? (I'm not sure why you were not listed in the changes for this build on buildbot)
https://lab.llvm.org/buildbot/#/builders/216/builds/20923

May 8 2023, 11:21 AM · Restricted Project, Restricted Project
tejohnson committed rGb8d2f7177c39: [MemProf] Add hot allocation type (authored by kanwu).
[MemProf] Add hot allocation type
May 8 2023, 10:35 AM · Restricted Project, Restricted Project
tejohnson closed D149932: [MemProf] Add hot allocation type.
May 8 2023, 10:35 AM · Restricted Project, Restricted Project
tejohnson committed rG176889868024: [MemProf] Control availability of hot/cold operator new from LTO link (authored by tejohnson).
[MemProf] Control availability of hot/cold operator new from LTO link
May 8 2023, 8:02 AM · Restricted Project, Restricted Project, Restricted Project
tejohnson closed D149215: [MemProf] Control availability of hot/cold operator new from LTO link.
May 8 2023, 8:02 AM · Restricted Project, Restricted Project, Restricted Project

May 5 2023

tejohnson committed rGa28261c71166: [MemProf] Create single version of helper function (NFC) (authored by tejohnson).
[MemProf] Create single version of helper function (NFC)
May 5 2023, 6:32 PM · Restricted Project, Restricted Project
tejohnson committed rGcfad2d3a3d62: [MemProf] Context disambiguation cloning pass [patch 4/4] (authored by tejohnson).
[MemProf] Context disambiguation cloning pass [patch 4/4]
May 5 2023, 4:27 PM · Restricted Project, Restricted Project
tejohnson closed D149117: [MemProf] Context disambiguation cloning pass [patch 4/4].
May 5 2023, 4:27 PM · Restricted Project, Restricted Project
tejohnson accepted D149932: [MemProf] Add hot allocation type.

lgtm

May 5 2023, 3:52 PM · Restricted Project, Restricted Project
tejohnson updated the diff for D149117: [MemProf] Context disambiguation cloning pass [patch 4/4].

Rebase

May 5 2023, 3:23 PM · Restricted Project, Restricted Project
tejohnson added a reverting change for rGf09807ca9dda: Revert "Restore "[MemProf] Context disambiguation cloning pass [patch 3/4]"": rG04f3c5a71e8d: Restore again "[MemProf] Context disambiguation cloning pass [patch 3/4]".
May 5 2023, 1:28 PM · Restricted Project, Restricted Project
tejohnson committed rG04f3c5a71e8d: Restore again "[MemProf] Context disambiguation cloning pass [patch 3/4]" (authored by tejohnson).
Restore again "[MemProf] Context disambiguation cloning pass [patch 3/4]"
May 5 2023, 1:28 PM · Restricted Project, Restricted Project
tejohnson closed D141077: [MemProf] Context disambiguation cloning pass [patch 3/4].
May 5 2023, 1:27 PM · Restricted Project, Restricted Project
tejohnson updated the diff for D141077: [MemProf] Context disambiguation cloning pass [patch 3/4].

Rebase on top of the committed D149924.

May 5 2023, 12:40 PM · Restricted Project, Restricted Project
tejohnson added inline comments to D141077: [MemProf] Context disambiguation cloning pass [patch 3/4].
May 5 2023, 11:59 AM · Restricted Project, Restricted Project
tejohnson added a comment to D149932: [MemProf] Add hot allocation type.

Looks great, thanks! Just a few minor comments.

May 5 2023, 11:04 AM · Restricted Project, Restricted Project
tejohnson committed rG1a3947df8545: [MemProf] Use MapVector to avoid non-determinism (authored by tejohnson).
[MemProf] Use MapVector to avoid non-determinism
May 5 2023, 7:07 AM · Restricted Project, Restricted Project
tejohnson closed D149924: [MemProf] Use MapVector to avoid non-determinism.
May 5 2023, 7:07 AM · Restricted Project, Restricted Project

May 4 2023

tejohnson requested review of D149924: [MemProf] Use MapVector to avoid non-determinism.
May 4 2023, 9:00 PM · Restricted Project, Restricted Project
tejohnson added inline comments to D141077: [MemProf] Context disambiguation cloning pass [patch 3/4].
May 4 2023, 6:23 PM · Restricted Project, Restricted Project
tejohnson reopened D141077: [MemProf] Context disambiguation cloning pass [patch 3/4].

Reopening so I can eventually upload fix for instability surfaced by expensive checks bot.

May 4 2023, 10:33 AM · Restricted Project, Restricted Project
tejohnson added a reverting change for rGbfe7205975a6: Restore "[MemProf] Context disambiguation cloning pass [patch 3/4]": rGf09807ca9dda: Revert "Restore "[MemProf] Context disambiguation cloning pass [patch 3/4]"".
May 4 2023, 9:42 AM · Restricted Project, Restricted Project
tejohnson committed rGf09807ca9dda: Revert "Restore "[MemProf] Context disambiguation cloning pass [patch 3/4]"" (authored by tejohnson).
Revert "Restore "[MemProf] Context disambiguation cloning pass [patch 3/4]""
May 4 2023, 9:42 AM · Restricted Project, Restricted Project
tejohnson added a reverting change for D141077: [MemProf] Context disambiguation cloning pass [patch 3/4]: rGf09807ca9dda: Revert "Restore "[MemProf] Context disambiguation cloning pass [patch 3/4]"".
May 4 2023, 9:42 AM · Restricted Project, Restricted Project
tejohnson updated the diff for D149117: [MemProf] Context disambiguation cloning pass [patch 4/4].

Address comments

May 4 2023, 9:29 AM · Restricted Project, Restricted Project
tejohnson added inline comments to D149117: [MemProf] Context disambiguation cloning pass [patch 4/4].
May 4 2023, 9:29 AM · Restricted Project, Restricted Project
tejohnson committed rGe3e6bc699574: [MemProf] Need to require asserts for tests that use -stats (authored by tejohnson).
[MemProf] Need to require asserts for tests that use -stats
May 4 2023, 7:35 AM · Restricted Project, Restricted Project
tejohnson added a reverting change for rG6fbf022908c1: Revert "[MemProf] Context disambiguation cloning pass [patch 3/4]": rGbfe7205975a6: Restore "[MemProf] Context disambiguation cloning pass [patch 3/4]".
May 4 2023, 6:32 AM · Restricted Project, Restricted Project
tejohnson committed rGbfe7205975a6: Restore "[MemProf] Context disambiguation cloning pass [patch 3/4]" (authored by tejohnson).
Restore "[MemProf] Context disambiguation cloning pass [patch 3/4]"
May 4 2023, 6:32 AM · Restricted Project, Restricted Project
tejohnson closed D141077: [MemProf] Context disambiguation cloning pass [patch 3/4].
May 4 2023, 6:32 AM · Restricted Project, Restricted Project

May 3 2023

tejohnson updated subscribers of D149800: [WIP][PGO] Add ability to mark cold functions as optsize/minsize/optnone.

Previously @yamauchi did a bunch of work related to this called PGSO (Profile Guided Size Optimization). See the functions in https://github.com/llvm-mirror/llvm/blob/master/lib/Transforms/Utils/SizeOpts.cpp, which are used to guide a number of optimizations that can affect code size. Do you know why those weren't sufficient?

May 3 2023, 6:46 PM · Restricted Project, Restricted Project, Restricted Project
tejohnson updated the diff for D141077: [MemProf] Context disambiguation cloning pass [patch 3/4].

Fix for nondeterminism.

May 3 2023, 5:38 PM · Restricted Project, Restricted Project
tejohnson added inline comments to D141077: [MemProf] Context disambiguation cloning pass [patch 3/4].
May 3 2023, 4:02 PM · Restricted Project, Restricted Project
tejohnson reopened D141077: [MemProf] Context disambiguation cloning pass [patch 3/4].

Reverted in 6fbf022908c104a380fd1854fb96eafc64509366 due to bot failure: https://lab.llvm.org/buildbot/#/builders/245/builds/7888

May 3 2023, 2:10 PM · Restricted Project, Restricted Project
tejohnson added a reverting change for rGbf6ff4fd4b73: [MemProf] Context disambiguation cloning pass [patch 3/4]: rG6fbf022908c1: Revert "[MemProf] Context disambiguation cloning pass [patch 3/4]".
May 3 2023, 2:09 PM · Restricted Project, Restricted Project
tejohnson committed rG6fbf022908c1: Revert "[MemProf] Context disambiguation cloning pass [patch 3/4]" (authored by tejohnson).
Revert "[MemProf] Context disambiguation cloning pass [patch 3/4]"
May 3 2023, 2:09 PM · Restricted Project, Restricted Project
tejohnson added a reverting change for D141077: [MemProf] Context disambiguation cloning pass [patch 3/4]: rG6fbf022908c1: Revert "[MemProf] Context disambiguation cloning pass [patch 3/4]".
May 3 2023, 2:09 PM · Restricted Project, Restricted Project
tejohnson committed rGbf6ff4fd4b73: [MemProf] Context disambiguation cloning pass [patch 3/4] (authored by tejohnson).
[MemProf] Context disambiguation cloning pass [patch 3/4]
May 3 2023, 1:44 PM · Restricted Project, Restricted Project
tejohnson closed D141077: [MemProf] Context disambiguation cloning pass [patch 3/4].
May 3 2023, 1:43 PM · Restricted Project, Restricted Project
tejohnson updated the diff for D141077: [MemProf] Context disambiguation cloning pass [patch 3/4].

Address comments

May 3 2023, 11:47 AM · Restricted Project, Restricted Project
tejohnson added inline comments to D141077: [MemProf] Context disambiguation cloning pass [patch 3/4].
May 3 2023, 11:45 AM · Restricted Project, Restricted Project
tejohnson accepted D148950: [LTO] Add test coverage for previous dllimport fix.

No, I don't think we need to modify the original test. It's now used to test the changes in d2ef8c1f.

May 3 2023, 8:37 AM · Restricted Project, Restricted Project

May 2 2023

tejohnson committed rGa4bdb27538c3: [MemProf] Use profiled lifetime access density directly (authored by tejohnson).
[MemProf] Use profiled lifetime access density directly
May 2 2023, 3:20 PM · Restricted Project, Restricted Project
tejohnson closed D149684: [MemProf] Use profiled lifetime access density directly.
May 2 2023, 3:19 PM · Restricted Project, Restricted Project
tejohnson updated the diff for D149684: [MemProf] Use profiled lifetime access density directly.

Address comments

May 2 2023, 2:01 PM · Restricted Project, Restricted Project
tejohnson added a comment to D149684: [MemProf] Use profiled lifetime access density directly.

Also noticed the comments in the new tests for MemProfContextDisambiguation refer to the old version of the lifetime threshold option, updating those too.

May 2 2023, 2:01 PM · Restricted Project, Restricted Project
tejohnson committed rGe0577ce36775: [MemProf] Removed unused allocation type (authored by tejohnson).
[MemProf] Removed unused allocation type
May 2 2023, 1:12 PM · Restricted Project, Restricted Project
tejohnson closed D149669: [MemProf] Removed unused allocation type.
May 2 2023, 1:12 PM · Restricted Project, Restricted Project
tejohnson requested review of D149684: [MemProf] Use profiled lifetime access density directly.
May 2 2023, 1:07 PM · Restricted Project, Restricted Project
tejohnson requested review of D149669: [MemProf] Removed unused allocation type.
May 2 2023, 10:48 AM · Restricted Project, Restricted Project