Page MenuHomePhabricator

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

rahmanl (Rahman Lavaee)
User

Projects

User does not belong to any projects.

User Details

User Since
Jul 30 2019, 2:02 PM (217 w, 3 d)

Recent Activity

Fri, Sep 22

rahmanl accepted D159544: [ELF] Change --call-graph-profile-sort to accept an argument.
Fri, Sep 22, 11:21 AM · Restricted Project, Restricted Project

Thu, Sep 21

rahmanl added a comment to D159527: [CodeLayout] Add unittest for cache-directed sort.

Another example would be where the algorithm stops merging functions (with call edges) because the temporal locality degrades too much, but this can be done in a separate patch.

Thu, Sep 21, 1:33 PM · Restricted Project, Restricted Project

Fri, Sep 8

rahmanl abandoned D136237: [BasicBlockSections] avoid insertting redundant branch to fall through blocks.

I think D158674 handled this. So abandoning this revision.

Fri, Sep 8, 3:44 PM · Restricted Project, Restricted Project

Wed, Sep 6

rahmanl abandoned D159146: [BasicBlockSections] Introduce a new version for basic block sections profile..

Moved to https://github.com/llvm/llvm-project/pull/65506

Wed, Sep 6, 11:54 AM · Restricted Project, Restricted Project

Tue, Sep 5

rahmanl added a comment to D159146: [BasicBlockSections] Introduce a new version for basic block sections profile..

ping

Tue, Sep 5, 9:50 AM · Restricted Project, Restricted Project

Aug 30 2023

rahmanl updated the diff for D159146: [BasicBlockSections] Introduce a new version for basic block sections profile..

Fix test.

Aug 30 2023, 12:44 PM · Restricted Project, Restricted Project
rahmanl published D159146: [BasicBlockSections] Introduce a new version for basic block sections profile. for review.
Aug 30 2023, 10:49 AM · Restricted Project, Restricted Project

Aug 28 2023

rahmanl added a comment to D107534: Add a pass to garbage-collect empty basic blocks after code generation..

Does this work with -mllvm -trap-unreachable?

Aug 28 2023, 3:11 PM · Restricted Project, Restricted Project
rahmanl accepted D158859: Cleaning up unreachable code in CodeLayout.
Aug 28 2023, 8:33 AM · Restricted Project, Restricted Project

Aug 23 2023

rahmanl accepted D158674: [CodeGen] Fix unconditional branch duplication issue in bbsections.

Thanks.

Aug 23 2023, 2:46 PM · Restricted Project, Restricted Project
rahmanl planned changes to D158442: [BasicBlockSections] Introduce the path cloning profile format to BasicBlockSectionsProfileReader..
Aug 23 2023, 1:26 PM · Restricted Project, Restricted Project
rahmanl updated the summary of D158442: [BasicBlockSections] Introduce the path cloning profile format to BasicBlockSectionsProfileReader..
Aug 23 2023, 1:10 PM · Restricted Project, Restricted Project
rahmanl added inline comments to D107534: Add a pass to garbage-collect empty basic blocks after code generation..
Aug 23 2023, 10:46 AM · Restricted Project, Restricted Project
rahmanl committed rG7dc65662730c: Add file header for GCEmptyBasicBlocks.cpp. (authored by rahmanl).
Add file header for GCEmptyBasicBlocks.cpp.
Aug 23 2023, 10:45 AM · Restricted Project, Restricted Project

Aug 22 2023

rahmanl committed rGd7e10df605f3: Remove checking stats from -gc-empty-basic-blocks test. (authored by rahmanl).
Remove checking stats from -gc-empty-basic-blocks test.
Aug 22 2023, 6:19 PM · Restricted Project, Restricted Project
rahmanl added a reverting change for rGab53109166c0: [BasicBlockSections] avoid insertting redundant branch to fall through blocks: rGd0ec03a384a5: Revert "[BasicBlockSections] avoid insertting redundant branch to fall through….
Aug 22 2023, 6:10 PM · Restricted Project, Restricted Project
rahmanl committed rGd0ec03a384a5: Revert "[BasicBlockSections] avoid insertting redundant branch to fall through… (authored by rahmanl).
Revert "[BasicBlockSections] avoid insertting redundant branch to fall through…
Aug 22 2023, 6:10 PM · Restricted Project, Restricted Project
rahmanl committed rGab53109166c0: [BasicBlockSections] avoid insertting redundant branch to fall through blocks (authored by rahmanl).
[BasicBlockSections] avoid insertting redundant branch to fall through blocks
Aug 22 2023, 4:32 PM · Restricted Project, Restricted Project
rahmanl added a comment to D158429: Define BBEntry::hasIndirectBranch. NFC.

Looks good (should it have had a unit test?). Not sure why this was landed without review though?

Aug 22 2023, 3:59 PM · Restricted Project, Restricted Project
rahmanl committed rGe280e406c2e3: Add a pass to garbage-collect empty basic blocks after code generation. (authored by rahmanl).
Add a pass to garbage-collect empty basic blocks after code generation.
Aug 22 2023, 3:42 PM · Restricted Project, Restricted Project
rahmanl closed D107534: Add a pass to garbage-collect empty basic blocks after code generation..
Aug 22 2023, 3:42 PM · Restricted Project, Restricted Project
rahmanl updated the diff for D107534: Add a pass to garbage-collect empty basic blocks after code generation..
  • Add check for stats.
  • Change the option name to -gc-empty-basic-blocks.
  • Rebase
Aug 22 2023, 3:25 PM · Restricted Project, Restricted Project

Aug 21 2023

rahmanl retitled D158442: [BasicBlockSections] Introduce the path cloning profile format to BasicBlockSectionsProfileReader. from [Propeller] Introduce the path cloning profile format to BasicBlockSectionsProfileReader. to [BasicBlockSections] Introduce the path cloning profile format to BasicBlockSectionsProfileReader..
Aug 21 2023, 1:09 PM · Restricted Project, Restricted Project
rahmanl updated the summary of D136237: [BasicBlockSections] avoid insertting redundant branch to fall through blocks.
Aug 21 2023, 1:04 PM · Restricted Project, Restricted Project
rahmanl updated the diff for D136237: [BasicBlockSections] avoid insertting redundant branch to fall through blocks.

fix comment.

Aug 21 2023, 1:02 PM · Restricted Project, Restricted Project
rahmanl updated the diff for D136237: [BasicBlockSections] avoid insertting redundant branch to fall through blocks.

clang-format.

Aug 21 2023, 12:59 PM · Restricted Project, Restricted Project
rahmanl updated the diff for D136237: [BasicBlockSections] avoid insertting redundant branch to fall through blocks.

Rename the test.

Aug 21 2023, 12:58 PM · Restricted Project, Restricted Project
rahmanl updated the diff for D136237: [BasicBlockSections] avoid insertting redundant branch to fall through blocks.

Apply final changes.

Aug 21 2023, 12:57 PM · Restricted Project, Restricted Project
rahmanl commandeered D136237: [BasicBlockSections] avoid insertting redundant branch to fall through blocks.
Aug 21 2023, 12:56 PM · Restricted Project, Restricted Project
rahmanl updated the summary of D158442: [BasicBlockSections] Introduce the path cloning profile format to BasicBlockSectionsProfileReader..
Aug 21 2023, 12:29 PM · Restricted Project, Restricted Project
rahmanl updated the summary of D158442: [BasicBlockSections] Introduce the path cloning profile format to BasicBlockSectionsProfileReader..
Aug 21 2023, 12:28 PM · Restricted Project, Restricted Project
rahmanl updated the summary of D158442: [BasicBlockSections] Introduce the path cloning profile format to BasicBlockSectionsProfileReader..
Aug 21 2023, 12:28 PM · Restricted Project, Restricted Project
rahmanl updated the summary of D158442: [BasicBlockSections] Introduce the path cloning profile format to BasicBlockSectionsProfileReader..
Aug 21 2023, 12:27 PM · Restricted Project, Restricted Project
rahmanl updated the diff for D158442: [BasicBlockSections] Introduce the path cloning profile format to BasicBlockSectionsProfileReader..

Add the cloning profile format to the function comment.

Aug 21 2023, 12:26 PM · Restricted Project, Restricted Project
rahmanl updated the diff for D158442: [BasicBlockSections] Introduce the path cloning profile format to BasicBlockSectionsProfileReader..

nit.

Aug 21 2023, 12:02 PM · Restricted Project, Restricted Project
rahmanl updated the diff for D158442: [BasicBlockSections] Introduce the path cloning profile format to BasicBlockSectionsProfileReader..

clang-format.

Aug 21 2023, 11:59 AM · Restricted Project, Restricted Project
rahmanl updated the diff for D158442: [BasicBlockSections] Introduce the path cloning profile format to BasicBlockSectionsProfileReader..

fixes.

Aug 21 2023, 11:58 AM · Restricted Project, Restricted Project
rahmanl updated the summary of D158442: [BasicBlockSections] Introduce the path cloning profile format to BasicBlockSectionsProfileReader..
Aug 21 2023, 11:35 AM · Restricted Project, Restricted Project
rahmanl updated the diff for D158442: [BasicBlockSections] Introduce the path cloning profile format to BasicBlockSectionsProfileReader..

nit.

Aug 21 2023, 11:26 AM · Restricted Project, Restricted Project
rahmanl updated the diff for D158442: [BasicBlockSections] Introduce the path cloning profile format to BasicBlockSectionsProfileReader..

Add BasicBlockSections.cpp changes.

Aug 21 2023, 11:26 AM · Restricted Project, Restricted Project
rahmanl requested review of D158442: [BasicBlockSections] Introduce the path cloning profile format to BasicBlockSectionsProfileReader..
Aug 21 2023, 11:00 AM · Restricted Project, Restricted Project
rahmanl committed rG32cabfcbc612: Define BBEntry::hasIndirectBranch. NFC (authored by rahmanl).
Define BBEntry::hasIndirectBranch. NFC
Aug 21 2023, 8:39 AM · Restricted Project, Restricted Project
rahmanl closed D158429: Define BBEntry::hasIndirectBranch. NFC.
Aug 21 2023, 8:39 AM · Restricted Project, Restricted Project
rahmanl updated the diff for D158429: Define BBEntry::hasIndirectBranch. NFC.

Remove .gitignore from the patch.

Aug 21 2023, 8:34 AM · Restricted Project, Restricted Project
rahmanl requested review of D158429: Define BBEntry::hasIndirectBranch. NFC.
Aug 21 2023, 8:32 AM · Restricted Project, Restricted Project

Aug 20 2023

rahmanl committed rG69e47deca97b: [Propeller] Deprecate Codegen paths for SHT_LLVM_BB_ADDR_MAP version 1. (authored by rahmanl).
[Propeller] Deprecate Codegen paths for SHT_LLVM_BB_ADDR_MAP version 1.
Aug 20 2023, 11:30 AM · Restricted Project, Restricted Project
rahmanl closed D158299: [Propeller] Deprecate Codegen paths for SHT_LLVM_BB_ADDR_MAP version 1..
Aug 20 2023, 11:30 AM · Restricted Project, Restricted Project

Aug 18 2023

rahmanl accepted D158303: [CodeGen] Use the TII hook for Noop insertion in BBSections (NFC).
Aug 18 2023, 11:58 AM · Restricted Project, Restricted Project
rahmanl requested review of D158299: [Propeller] Deprecate Codegen paths for SHT_LLVM_BB_ADDR_MAP version 1..
Aug 18 2023, 11:16 AM · Restricted Project, Restricted Project

Aug 17 2023

rahmanl added inline comments to D157565: [CodeGen] Add AArch64 behavior to existing MFS tests.
Aug 17 2023, 4:31 PM · Restricted Project, Restricted Project, Restricted Project
rahmanl added inline comments to D157565: [CodeGen] Add AArch64 behavior to existing MFS tests.
Aug 17 2023, 3:37 PM · Restricted Project, Restricted Project, Restricted Project
rahmanl added inline comments to D157565: [CodeGen] Add AArch64 behavior to existing MFS tests.
Aug 17 2023, 12:57 PM · Restricted Project, Restricted Project, Restricted Project
rahmanl added inline comments to D157565: [CodeGen] Add AArch64 behavior to existing MFS tests.
Aug 17 2023, 12:27 PM · Restricted Project, Restricted Project, Restricted Project
rahmanl updated the diff for D107534: Add a pass to garbage-collect empty basic blocks after code generation..

Remove unused variable.

Aug 17 2023, 11:10 AM · Restricted Project, Restricted Project
rahmanl added inline comments to D107534: Add a pass to garbage-collect empty basic blocks after code generation..
Aug 17 2023, 11:07 AM · Restricted Project, Restricted Project
rahmanl updated the diff for D107534: Add a pass to garbage-collect empty basic blocks after code generation..

Remove redundant check, refactor, rebase.

Aug 17 2023, 11:04 AM · Restricted Project, Restricted Project

Aug 15 2023

rahmanl added inline comments to D107534: Add a pass to garbage-collect empty basic blocks after code generation..
Aug 15 2023, 9:34 PM · Restricted Project, Restricted Project
rahmanl added inline comments to D107534: Add a pass to garbage-collect empty basic blocks after code generation..
Aug 15 2023, 7:17 PM · Restricted Project, Restricted Project
rahmanl updated subscribers of D107534: Add a pass to garbage-collect empty basic blocks after code generation..
Aug 15 2023, 7:11 PM · Restricted Project, Restricted Project

Aug 10 2023

rahmanl added inline comments to D152840: [ELF] A new code layout algorithm for function reordering [3a/3].
Aug 10 2023, 12:48 PM · Restricted Project, Restricted Project
rahmanl added a reviewer for D107534: Add a pass to garbage-collect empty basic blocks after code generation.: xur.
Aug 10 2023, 12:33 PM · Restricted Project, Restricted Project
rahmanl updated the diff for D107534: Add a pass to garbage-collect empty basic blocks after code generation..

clang-format.

Aug 10 2023, 12:28 PM · Restricted Project, Restricted Project
rahmanl retitled D107534: Add a pass to garbage-collect empty basic blocks after code generation. from Garbage-collect empty basic blocks after code generation. to Add a pass to garbage-collect empty basic blocks after code generation..
Aug 10 2023, 12:27 PM · Restricted Project, Restricted Project
rahmanl updated the summary of D107534: Add a pass to garbage-collect empty basic blocks after code generation..
Aug 10 2023, 10:14 AM · Restricted Project, Restricted Project
rahmanl updated the summary of D107534: Add a pass to garbage-collect empty basic blocks after code generation..
Aug 10 2023, 10:13 AM · Restricted Project, Restricted Project
rahmanl updated the summary of D107534: Add a pass to garbage-collect empty basic blocks after code generation..
Aug 10 2023, 10:13 AM · Restricted Project, Restricted Project
rahmanl updated the diff for D107534: Add a pass to garbage-collect empty basic blocks after code generation..

Omit empty basic blocks which have their address taken, and EH pad blocks.

Aug 10 2023, 10:10 AM · Restricted Project, Restricted Project

Aug 8 2023

rahmanl updated the diff for D107534: Add a pass to garbage-collect empty basic blocks after code generation..

Remove unwanted change.

Aug 8 2023, 11:33 AM · Restricted Project, Restricted Project
rahmanl added a reviewer for D107534: Add a pass to garbage-collect empty basic blocks after code generation.: JestrTulip.
Aug 8 2023, 11:12 AM · Restricted Project, Restricted Project
rahmanl published D107534: Add a pass to garbage-collect empty basic blocks after code generation. for review.
Aug 8 2023, 11:11 AM · Restricted Project, Restricted Project

Jul 21 2023

rahmanl committed rGbf98aaae0046: [llvm-objdump] Use BBEntry::BBID to represent basic block numbers. (authored by rahmanl).
[llvm-objdump] Use BBEntry::BBID to represent basic block numbers.
Jul 21 2023, 11:46 AM · Restricted Project, Restricted Project
rahmanl closed D155464: [llvm-objdump] Use BBEntry::BBID to represent basic block numbers..
Jul 21 2023, 11:46 AM · Restricted Project, Restricted Project
rahmanl accepted D152834: A new code layout algorithm for function reordering [2/3].
Jul 21 2023, 10:57 AM · Restricted Project, Restricted Project

Jul 17 2023

rahmanl added a reviewer for D155464: [llvm-objdump] Use BBEntry::BBID to represent basic block numbers.: mtrofin.
Jul 17 2023, 9:52 AM · Restricted Project, Restricted Project
rahmanl added a reviewer for D155464: [llvm-objdump] Use BBEntry::BBID to represent basic block numbers.: aidengrossman.
Jul 17 2023, 9:51 AM · Restricted Project, Restricted Project
rahmanl requested review of D155464: [llvm-objdump] Use BBEntry::BBID to represent basic block numbers..
Jul 17 2023, 7:24 AM · Restricted Project, Restricted Project

Jul 12 2023

rahmanl added inline comments to D152834: A new code layout algorithm for function reordering [2/3].
Jul 12 2023, 1:22 PM · Restricted Project, Restricted Project
rahmanl added inline comments to D152834: A new code layout algorithm for function reordering [2/3].
Jul 12 2023, 1:17 PM · Restricted Project, Restricted Project

Jun 27 2023

rahmanl committed rGc13b046de338: [Propeller] Match debug info filenames from profiles to distinguish internal… (authored by rahmanl).
[Propeller] Match debug info filenames from profiles to distinguish internal…
Jun 27 2023, 2:28 PM · Restricted Project, Restricted Project
rahmanl closed D146770: [Propeller] Match debug info filenames from profiles to distinguish internal linkage functions with the same names..
Jun 27 2023, 2:28 PM · Restricted Project, Restricted Project

Jun 23 2023

rahmanl added a comment to D152834: A new code layout algorithm for function reordering [2/3].

Thanks for the updated results. They look more consistent now.

Jun 23 2023, 2:14 PM · Restricted Project, Restricted Project

Jun 21 2023

rahmanl added a comment to D152834: A new code layout algorithm for function reordering [2/3].

Thanks for providing the evaluation results. This shows nice improvements when huge pages are not used. My intuition is that using huge pages reduces the opportunity from function reordering.

Jun 21 2023, 4:28 PM · Restricted Project, Restricted Project

Jun 20 2023

rahmanl added a reviewer for D152840: [ELF] A new code layout algorithm for function reordering [3a/3]: rahmanl.
Jun 20 2023, 4:38 PM · Restricted Project, Restricted Project
rahmanl added a comment to D152834: A new code layout algorithm for function reordering [2/3].

I am also interested in getting more details about your evaluation. Currently, LLD uses CallChainClustering for FDO (https://github.com/llvm-mirror/lld/blob/master/ELF/CallGraphSort.cpp). I wonder how much perf. improvement we get if we hook this into LLD.

Jun 20 2023, 4:11 PM · Restricted Project, Restricted Project

May 23 2023

rahmanl committed rG9c3c6f6acada: [Propeller] Add HasIndirectBranch to BBEntry::Metadata. (authored by rahmanl).
[Propeller] Add HasIndirectBranch to BBEntry::Metadata.
May 23 2023, 7:16 PM · Restricted Project, Restricted Project
rahmanl closed D150611: [Propeller] Add HasIndirectBranch to BBEntry::Metadata..
May 23 2023, 7:15 PM · Restricted Project, Restricted Project
rahmanl updated the diff for D146770: [Propeller] Match debug info filenames from profiles to distinguish internal linkage functions with the same names..
  • rebase.
May 23 2023, 1:27 PM · Restricted Project, Restricted Project
rahmanl added inline comments to D146770: [Propeller] Match debug info filenames from profiles to distinguish internal linkage functions with the same names..
May 23 2023, 1:20 PM · Restricted Project, Restricted Project
rahmanl updated the diff for D146770: [Propeller] Match debug info filenames from profiles to distinguish internal linkage functions with the same names..
  • Address reviewer comments.
May 23 2023, 1:20 PM · Restricted Project, Restricted Project

May 16 2023

rahmanl added a reviewer for D150611: [Propeller] Add HasIndirectBranch to BBEntry::Metadata.: shenhan.
May 16 2023, 1:20 PM · Restricted Project, Restricted Project

May 15 2023

rahmanl published D150611: [Propeller] Add HasIndirectBranch to BBEntry::Metadata. for review.
May 15 2023, 1:59 PM · Restricted Project, Restricted Project
rahmanl updated the diff for D146770: [Propeller] Match debug info filenames from profiles to distinguish internal linkage functions with the same names..
  • Extract filename via DICompileUnits. Match on filename attribute only.
May 15 2023, 12:15 PM · Restricted Project, Restricted Project

May 11 2023

rahmanl committed rG5ac48ef51393: [Propeller] Use a bit-field struct for the metdata fields of BBEntry. (authored by rahmanl).
[Propeller] Use a bit-field struct for the metdata fields of BBEntry.
May 11 2023, 11:22 AM · Restricted Project, Restricted Project
rahmanl closed D148360: [Propeller] Use a bit-field struct for the metdata fields of BBEntry..
May 11 2023, 11:21 AM · Restricted Project, Restricted Project
rahmanl added a comment to D148360: [Propeller] Use a bit-field struct for the metdata fields of BBEntry..

Thank you for the review.

May 11 2023, 11:20 AM · Restricted Project, Restricted Project
rahmanl updated the diff for D148360: [Propeller] Use a bit-field struct for the metdata fields of BBEntry..

Update the comment.

May 11 2023, 11:19 AM · Restricted Project, Restricted Project

May 9 2023

rahmanl added a comment to D148360: [Propeller] Use a bit-field struct for the metdata fields of BBEntry..

@jhenderson Another friendly ping.

May 9 2023, 10:42 AM · Restricted Project, Restricted Project
rahmanl updated the diff for D148360: [Propeller] Use a bit-field struct for the metdata fields of BBEntry..
  • Add error handling for invalid encoding.
  • Add llvm-readobj test.
May 9 2023, 10:40 AM · Restricted Project, Restricted Project
rahmanl updated the diff for D148360: [Propeller] Use a bit-field struct for the metdata fields of BBEntry..
  • clang-format.
May 9 2023, 10:33 AM · Restricted Project, Restricted Project

May 3 2023

rahmanl added a comment to D148360: [Propeller] Use a bit-field struct for the metdata fields of BBEntry..

@jhenderson Thanks for reviewing. Please let me know if I have addressed your comments.

May 3 2023, 12:12 PM · Restricted Project, Restricted Project