Page MenuHomePhabricator

RithikSharma (rithik sharma)
User

Projects

User does not belong to any projects.

User Details

User Since
May 7 2020, 9:26 AM (151 w, 1 d)

Recent Activity

Jul 15 2021

RithikSharma requested review of D106097: [analyzer] Improving test case for AnanlysisConsumer.
Jul 15 2021, 1:39 PM
RithikSharma requested review of D106090: [analyzer][WIP] Print time taken to analyze checker callbacks.
Jul 15 2021, 12:19 PM

Jul 14 2021

RithikSharma added reviewers for D105927: [analyzer] Extend operator overloading for ' - ' and ' + ' operators on llvm::TimeRecord: JDevlieghere, bogner.
Jul 14 2021, 5:56 AM · Restricted Project

Jul 13 2021

RithikSharma requested review of D105927: [analyzer] Extend operator overloading for ' - ' and ' + ' operators on llvm::TimeRecord.
Jul 13 2021, 12:11 PM · Restricted Project

Jul 12 2021

RithikSharma committed rGcad9b7f708e2: [analyzer] Print time taken to analyze each function (authored by RithikSharma).
[analyzer] Print time taken to analyze each function
Jul 12 2021, 9:56 PM
RithikSharma closed D105565: [analyzer] Print time taken to analyze each function.
Jul 12 2021, 9:55 PM · Restricted Project

Jul 9 2021

RithikSharma added a comment to D105565: [analyzer] Print time taken to analyze each function.

Thanks, it was essential. I have updated the patch.

Jul 9 2021, 8:38 AM · Restricted Project
RithikSharma updated the diff for D105565: [analyzer] Print time taken to analyze each function.
Jul 9 2021, 8:36 AM · Restricted Project
RithikSharma added inline comments to D105565: [analyzer] Print time taken to analyze each function.
Jul 9 2021, 12:52 AM · Restricted Project
RithikSharma updated the diff for D105565: [analyzer] Print time taken to analyze each function.
Jul 9 2021, 12:51 AM · Restricted Project

Jul 8 2021

RithikSharma added inline comments to D105565: [analyzer] Print time taken to analyze each function.
Jul 8 2021, 9:32 AM · Restricted Project
RithikSharma updated the diff for D105565: [analyzer] Print time taken to analyze each function.
Jul 8 2021, 9:24 AM · Restricted Project

Jul 7 2021

RithikSharma requested review of D105565: [analyzer] Print time taken to analyze each function.
Jul 7 2021, 10:54 AM · Restricted Project

Sep 4 2020

RithikSharma added inline comments to D84589: [CodeMoverUtils] Add optional data dependence checks using Alias Analysis.
Sep 4 2020, 8:33 AM · Restricted Project
RithikSharma updated the diff for D84589: [CodeMoverUtils] Add optional data dependence checks using Alias Analysis.
Sep 4 2020, 8:32 AM · Restricted Project

Sep 3 2020

RithikSharma requested review of D87094: [CodeMoverUtils]Add option to skip control flow equivalence checks when sure.
Sep 3 2020, 9:03 AM · Restricted Project

Sep 1 2020

RithikSharma added inline comments to D84589: [CodeMoverUtils] Add optional data dependence checks using Alias Analysis.
Sep 1 2020, 1:25 PM · Restricted Project
RithikSharma added inline comments to D86850: [LoopRotate][WIP] Check code-motion safety before hoisting.
Sep 1 2020, 12:59 PM · Restricted Project
RithikSharma added inline comments to D86850: [LoopRotate][WIP] Check code-motion safety before hoisting.
Sep 1 2020, 10:41 AM · Restricted Project

Aug 30 2020

RithikSharma requested review of D86850: [LoopRotate][WIP] Check code-motion safety before hoisting.
Aug 30 2020, 10:25 AM · Restricted Project

Aug 18 2020

RithikSharma added inline comments to D84589: [CodeMoverUtils] Add optional data dependence checks using Alias Analysis.
Aug 18 2020, 10:53 AM · Restricted Project
RithikSharma updated the diff for D84589: [CodeMoverUtils] Add optional data dependence checks using Alias Analysis.
Aug 18 2020, 10:49 AM · Restricted Project

Aug 15 2020

RithikSharma added a comment to D84589: [CodeMoverUtils] Add optional data dependence checks using Alias Analysis.

@bmahjour thanks for the reviews, I will update the patch soon.

Aug 15 2020, 4:00 AM · Restricted Project
RithikSharma added a comment to D84589: [CodeMoverUtils] Add optional data dependence checks using Alias Analysis.

@Whitney thanks for the reviews, I have added the test case.

Aug 15 2020, 3:57 AM · Restricted Project
RithikSharma updated the diff for D84589: [CodeMoverUtils] Add optional data dependence checks using Alias Analysis.
Aug 15 2020, 3:54 AM · Restricted Project

Aug 8 2020

RithikSharma added a comment to D84589: [CodeMoverUtils] Add optional data dependence checks using Alias Analysis.

Thanks for the reviews @Whitney , I have updated the patch with the changes.

Aug 8 2020, 7:05 AM · Restricted Project
RithikSharma updated the diff for D84589: [CodeMoverUtils] Add optional data dependence checks using Alias Analysis.
Aug 8 2020, 6:55 AM · Restricted Project

Aug 3 2020

RithikSharma added a comment to D84589: [CodeMoverUtils] Add optional data dependence checks using Alias Analysis.

Many thanks for you reviews @hiraditya , acknowledged and updated.

Aug 3 2020, 9:29 AM · Restricted Project
RithikSharma updated the diff for D84589: [CodeMoverUtils] Add optional data dependence checks using Alias Analysis.
Aug 3 2020, 9:25 AM · Restricted Project

Jul 29 2020

RithikSharma updated the diff for D84589: [CodeMoverUtils] Add optional data dependence checks using Alias Analysis.
Jul 29 2020, 10:58 AM · Restricted Project
RithikSharma added a comment to D84589: [CodeMoverUtils] Add optional data dependence checks using Alias Analysis.

Are there plans on moving some transforms to use this with AA? I think it would be good to have a concrete plan to make use of this, otherwise I am worried that the code will miss out on large real-world test coverage.

Jul 29 2020, 9:40 AM · Restricted Project
RithikSharma added inline comments to D84776: [CodeMoverUtils] Add more tests to check code motion safety using data dependence information..
Jul 29 2020, 7:58 AM · Restricted Project
RithikSharma updated the diff for D84776: [CodeMoverUtils] Add more tests to check code motion safety using data dependence information..
Jul 29 2020, 7:58 AM · Restricted Project
RithikSharma added inline comments to D84776: [CodeMoverUtils] Add more tests to check code motion safety using data dependence information..
Jul 29 2020, 4:31 AM · Restricted Project
RithikSharma updated the diff for D84776: [CodeMoverUtils] Add more tests to check code motion safety using data dependence information..
Jul 29 2020, 4:30 AM · Restricted Project

Jul 28 2020

RithikSharma updated the diff for D84589: [CodeMoverUtils] Add optional data dependence checks using Alias Analysis.
Jul 28 2020, 11:27 PM · Restricted Project
RithikSharma retitled D84776: [CodeMoverUtils] Add more tests to check code motion safety using data dependence information. from [CodeMoverUtils] Add more tests to check code motion safety using dependence to [CodeMoverUtils] Add more tests to check code motion safety using data dependence information..
Jul 28 2020, 10:56 AM · Restricted Project
RithikSharma requested review of D84776: [CodeMoverUtils] Add more tests to check code motion safety using data dependence information..
Jul 28 2020, 10:49 AM · Restricted Project
RithikSharma added inline comments to D84589: [CodeMoverUtils] Add optional data dependence checks using Alias Analysis.
Jul 28 2020, 7:24 AM · Restricted Project
RithikSharma updated the diff for D84589: [CodeMoverUtils] Add optional data dependence checks using Alias Analysis.
Jul 28 2020, 7:19 AM · Restricted Project

Jul 26 2020

RithikSharma added a comment to D84589: [CodeMoverUtils] Add optional data dependence checks using Alias Analysis.

Acknowledged, updated.

Jul 26 2020, 3:03 AM · Restricted Project
RithikSharma updated the diff for D84589: [CodeMoverUtils] Add optional data dependence checks using Alias Analysis.
Jul 26 2020, 3:02 AM · Restricted Project
RithikSharma added inline comments to D84589: [CodeMoverUtils] Add optional data dependence checks using Alias Analysis.
Jul 26 2020, 12:20 AM · Restricted Project
RithikSharma updated the diff for D84589: [CodeMoverUtils] Add optional data dependence checks using Alias Analysis.
Jul 26 2020, 12:18 AM · Restricted Project
RithikSharma updated the diff for D84589: [CodeMoverUtils] Add optional data dependence checks using Alias Analysis.
Jul 26 2020, 12:12 AM · Restricted Project

Jul 25 2020

RithikSharma created D84589: [CodeMoverUtils] Add optional data dependence checks using Alias Analysis.
Jul 25 2020, 11:53 AM · Restricted Project

Jul 22 2020

RithikSharma committed rG167cac3100f5: [CodeMoverUtils] Add more data dependency related test case Summary: This patch… (authored by RithikSharma).
[CodeMoverUtils] Add more data dependency related test case Summary: This patch…
Jul 22 2020, 7:49 AM
RithikSharma closed D80643: [CodeMoverUtils] Move OrderedInstructions to CodeMoverUtils.
Jul 22 2020, 5:36 AM · Restricted Project

Jul 20 2020

RithikSharma updated the diff for D83543: [CodeMoverUtils] Add more data dependency related test case.
Jul 20 2020, 9:00 AM · Restricted Project

Jul 19 2020

RithikSharma updated the diff for D83543: [CodeMoverUtils] Add more data dependency related test case.
Jul 19 2020, 9:12 AM · Restricted Project

Jul 18 2020

RithikSharma added inline comments to D83311: [CodeMoverUtils] Add optional data dependence checks using MSSA.
Jul 18 2020, 7:09 AM · Restricted Project

Jul 16 2020

RithikSharma added inline comments to D83311: [CodeMoverUtils] Add optional data dependence checks using MSSA.
Jul 16 2020, 3:22 AM · Restricted Project
RithikSharma updated the diff for D83311: [CodeMoverUtils] Add optional data dependence checks using MSSA.
Jul 16 2020, 3:17 AM · Restricted Project

Jul 15 2020

RithikSharma updated the diff for D83311: [CodeMoverUtils] Add optional data dependence checks using MSSA.
Jul 15 2020, 10:27 AM · Restricted Project

Jul 14 2020

RithikSharma updated the diff for D83311: [CodeMoverUtils] Add optional data dependence checks using MSSA.
Jul 14 2020, 10:44 AM · Restricted Project

Jul 10 2020

RithikSharma updated the diff for D83543: [CodeMoverUtils] Add more data dependency related test case.
Jul 10 2020, 8:22 PM · Restricted Project
RithikSharma created D83543: [CodeMoverUtils] Add more data dependency related test case.
Jul 10 2020, 3:57 AM · Restricted Project

Jul 9 2020

RithikSharma committed rGe71c7b593a2d: [CodeMoverUtils] Move OrderedInstructions to CodeMoverUtils Summary: This patch… (authored by RithikSharma).
[CodeMoverUtils] Move OrderedInstructions to CodeMoverUtils Summary: This patch…
Jul 9 2020, 10:53 PM
RithikSharma added inline comments to D83311: [CodeMoverUtils] Add optional data dependence checks using MSSA.
Jul 9 2020, 10:01 AM · Restricted Project
RithikSharma added inline comments to D83311: [CodeMoverUtils] Add optional data dependence checks using MSSA.
Jul 9 2020, 7:52 AM · Restricted Project
RithikSharma updated the diff for D83311: [CodeMoverUtils] Add optional data dependence checks using MSSA.
Jul 9 2020, 7:45 AM · Restricted Project
RithikSharma updated the diff for D83311: [CodeMoverUtils] Add optional data dependence checks using MSSA.
Jul 9 2020, 4:19 AM · Restricted Project

Jul 7 2020

RithikSharma added inline comments to D83311: [CodeMoverUtils] Add optional data dependence checks using MSSA.
Jul 7 2020, 10:32 AM · Restricted Project
RithikSharma updated the diff for D83311: [CodeMoverUtils] Add optional data dependence checks using MSSA.
Jul 7 2020, 10:23 AM · Restricted Project
RithikSharma created D83311: [CodeMoverUtils] Add optional data dependence checks using MSSA.
Jul 7 2020, 8:05 AM · Restricted Project
RithikSharma committed rG082e39523000: [CodeMoverUtils] Make specific analysis dependent checks optional (authored by RithikSharma).
[CodeMoverUtils] Make specific analysis dependent checks optional
Jul 7 2020, 7:43 AM
RithikSharma closed D82566: [CodeMoverUtils] Make specific analysis dependent checks optional.
Jul 7 2020, 7:43 AM · Restricted Project

Jul 6 2020

RithikSharma added a comment to D82566: [CodeMoverUtils] Make specific analysis dependent checks optional.

Many thanks, I have updated the diff.

Jul 6 2020, 10:49 AM · Restricted Project
RithikSharma updated the diff for D82566: [CodeMoverUtils] Make specific analysis dependent checks optional.
Jul 6 2020, 10:47 AM · Restricted Project

Jun 29 2020

RithikSharma added a comment to D82293: [CodeMoverUtils][WIP] Move code motion related checks from LICM to CodeMoverUtils.

Many thanks, updated the parent revision.

Jun 29 2020, 9:10 AM · Restricted Project
RithikSharma added inline comments to D82566: [CodeMoverUtils] Make specific analysis dependent checks optional.
Jun 29 2020, 8:03 AM · Restricted Project
RithikSharma updated the diff for D82566: [CodeMoverUtils] Make specific analysis dependent checks optional.
Jun 29 2020, 8:03 AM · Restricted Project
RithikSharma added inline comments to D82566: [CodeMoverUtils] Make specific analysis dependent checks optional.
Jun 29 2020, 6:59 AM · Restricted Project
RithikSharma updated the diff for D82566: [CodeMoverUtils] Make specific analysis dependent checks optional.
Jun 29 2020, 6:58 AM · Restricted Project

Jun 28 2020

RithikSharma added inline comments to D82566: [CodeMoverUtils] Make specific analysis dependent checks optional.
Jun 28 2020, 10:16 AM · Restricted Project
RithikSharma updated the diff for D82566: [CodeMoverUtils] Make specific analysis dependent checks optional.
Jun 28 2020, 10:16 AM · Restricted Project
RithikSharma added a comment to D82293: [CodeMoverUtils][WIP] Move code motion related checks from LICM to CodeMoverUtils.

The issue with this change is that there is a lot of unnecessary work done now. Before, we could exit early to decide an instruction could never be hoisted/sunk. Now, we're removing all those early checks and only when actually trying to move get the "actually, you can't". I expect this to get a big compile-time penalty.
Could you do some testing and include results in the patch summary?

Jun 28 2020, 8:39 AM · Restricted Project
RithikSharma updated the diff for D82293: [CodeMoverUtils][WIP] Move code motion related checks from LICM to CodeMoverUtils.
Jun 28 2020, 8:08 AM · Restricted Project

Jun 26 2020

RithikSharma added a comment to D82293: [CodeMoverUtils][WIP] Move code motion related checks from LICM to CodeMoverUtils.

Many thanks @asbirlea and @fhahn for the review, it surely makes more sense to keep CodeMoverUtils flexible with the required analysis. I've made all the analysis in CodeMotionUtils optional so now we need not add them in LICM.

Jun 26 2020, 6:30 AM · Restricted Project
RithikSharma updated the diff for D82293: [CodeMoverUtils][WIP] Move code motion related checks from LICM to CodeMoverUtils.
Jun 26 2020, 5:56 AM · Restricted Project
RithikSharma added inline comments to D82566: [CodeMoverUtils] Make specific analysis dependent checks optional.
Jun 26 2020, 5:56 AM · Restricted Project
RithikSharma updated the diff for D82566: [CodeMoverUtils] Make specific analysis dependent checks optional.
Jun 26 2020, 5:56 AM · Restricted Project

Jun 25 2020

RithikSharma updated the diff for D82566: [CodeMoverUtils] Make specific analysis dependent checks optional.
Jun 25 2020, 9:07 AM · Restricted Project
RithikSharma created D82566: [CodeMoverUtils] Make specific analysis dependent checks optional.
Jun 25 2020, 9:07 AM · Restricted Project

Jun 23 2020

RithikSharma added inline comments to D82293: [CodeMoverUtils][WIP] Move code motion related checks from LICM to CodeMoverUtils.
Jun 23 2020, 9:37 AM · Restricted Project
RithikSharma added inline comments to D82290: [CodeMoverUtils][WIP] Isolate checks strictly related to the code motion candidate instruction.
Jun 23 2020, 9:37 AM · Restricted Project

Jun 22 2020

RithikSharma added inline comments to D82290: [CodeMoverUtils][WIP] Isolate checks strictly related to the code motion candidate instruction.
Jun 22 2020, 6:25 AM · Restricted Project
RithikSharma added inline comments to D82293: [CodeMoverUtils][WIP] Move code motion related checks from LICM to CodeMoverUtils.
Jun 22 2020, 6:24 AM · Restricted Project
RithikSharma updated the diff for D82293: [CodeMoverUtils][WIP] Move code motion related checks from LICM to CodeMoverUtils.
Jun 22 2020, 6:24 AM · Restricted Project
RithikSharma created D82293: [CodeMoverUtils][WIP] Move code motion related checks from LICM to CodeMoverUtils.
Jun 22 2020, 6:24 AM · Restricted Project
RithikSharma created D82290: [CodeMoverUtils][WIP] Isolate checks strictly related to the code motion candidate instruction.
Jun 22 2020, 5:20 AM · Restricted Project

Jun 9 2020

RithikSharma updated the diff for D80643: [CodeMoverUtils] Move OrderedInstructions to CodeMoverUtils.

This update fixes the existing errors in the patch.

Jun 9 2020, 10:58 AM · Restricted Project
RithikSharma updated the diff for D80643: [CodeMoverUtils] Move OrderedInstructions to CodeMoverUtils.

This update removes localDominates which is not required, only one OrderedInstructions is required which is domTreeLevelBefore which is now a part of CodeMoverUtils.cpp

Jun 9 2020, 6:00 AM · Restricted Project
RithikSharma updated the diff for D80643: [CodeMoverUtils] Move OrderedInstructions to CodeMoverUtils.

This update removes the OrderedInstructions class from CodeMoverUtils and also removes it's exposure to other transformation passes, both localDominates and domTreeLevelBefore is made as static functions and are present in CodeMoverUtils.cpp. OrderedInstructions::dominates() has been removed from CodeMoverUtils.cpp due to it's existance in DominatorTree::dominates(), the dominance test moved from OrderedInstructionsTest.cpp to CodeMoverUtilsTest.cpp is also removed.

Jun 9 2020, 1:36 AM · Restricted Project

Jun 4 2020

RithikSharma added a comment to D80643: [CodeMoverUtils] Move OrderedInstructions to CodeMoverUtils.

You don't need an actual OrderedInstructions class. You can simply make domTreeLevelBefore() a static function in CodeMoverUtils.cpp. Replace the localDominates() call with Instruction::comesBefore().

Jun 4 2020, 9:53 AM · Restricted Project

May 27 2020

RithikSharma created D80643: [CodeMoverUtils] Move OrderedInstructions to CodeMoverUtils.
May 27 2020, 9:43 AM · Restricted Project

May 26 2020

RithikSharma updated the diff for D80084: [CodeMoverUtils] Use dominator tree level to decide the direction of code motion.

This update changes OrderedInstructions.cpp to Clang-format and fixes errors in function description of domTreeLevelBefore.

May 26 2020, 9:46 PM · Restricted Project
RithikSharma updated the diff for D80084: [CodeMoverUtils] Use dominator tree level to decide the direction of code motion.

This update changes bfsLevelBefore to domTreeLevelBefore, the new name adds more details about the function and makes it more descriptive.

May 26 2020, 10:49 AM · Restricted Project

May 25 2020

RithikSharma added a comment to D80084: [CodeMoverUtils] Use dominator tree level to decide the direction of code motion.

It looks like the only user of OrderedInstructions.h is CodeMoverUtils now. At this point I think it would be good to remove OrderedInstructions and move the new code directly to CodeMoverUtils

May 25 2020, 10:42 AM · Restricted Project
RithikSharma updated the diff for D80084: [CodeMoverUtils] Use dominator tree level to decide the direction of code motion.

Added function description to bfsLevelBefore and made some optimization changes in the dominance checks.

May 25 2020, 10:10 AM · Restricted Project