Page MenuHomePhabricator

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

psamolysov-intel (Pavel Samolysov)
User

Projects

User does not belong to any projects.

User Details

User Since
Feb 27 2022, 11:55 PM (92 w, 1 d)

Recent Activity

Apr 8 2022

psamolysov-intel updated subscribers of rGb4ac84901e9b: [clang][NFC] Extract EmitAssemblyHelper::shouldEmitRegularLTOSummary.
Apr 8 2022, 12:11 AM · Restricted Project, Restricted Project

Apr 7 2022

psamolysov-intel added a comment to rGb4ac84901e9b: [clang][NFC] Extract EmitAssemblyHelper::shouldEmitRegularLTOSummary.

@tejohnson Thank you very much for landing!

Apr 7 2022, 11:55 PM · Restricted Project, Restricted Project
psamolysov-intel added a comment to D123026: [clang][NFC] Extract EmitAssemblyHelper::shouldEmitRegularLTOSummary.

Colleagues, could you help me with landing? @tejohnson has approved the patch (if I applied the suggestion as it was expected, thank you @tejohnson!)

Apr 7 2022, 8:05 AM · Restricted Project, Restricted Project

Apr 6 2022

psamolysov-intel updated the diff for D123026: [clang][NFC] Extract EmitAssemblyHelper::shouldEmitRegularLTOSummary.

Thank you @tejohnson I've applied the suggested changes.

Apr 6 2022, 8:38 AM · Restricted Project, Restricted Project
psamolysov-intel updated the diff for D123026: [clang][NFC] Extract EmitAssemblyHelper::shouldEmitRegularLTOSummary.

@tejohnson Thank you for your opinion. I've renamed the function member into shouldEmitLTOSummary and extract the condition only. The code that changes the module flags is still inlined. The patch description was also edited to reflect these changes.

Apr 6 2022, 6:57 AM · Restricted Project, Restricted Project

Apr 5 2022

psamolysov-intel added a comment to D123026: [clang][NFC] Extract EmitAssemblyHelper::shouldEmitRegularLTOSummary.

Colleagues, could you review this small non-functional change. After the TargetTruiple member has been extracted, it becomes clear that there is some code duplication in the BackendUtil.cpp source file. I think this is a good idea to eliminate this code duplication, isn't it?

Apr 5 2022, 8:19 AM · Restricted Project, Restricted Project

Apr 4 2022

psamolysov-intel requested review of D123026: [clang][NFC] Extract EmitAssemblyHelper::shouldEmitRegularLTOSummary.
Apr 4 2022, 5:56 AM · Restricted Project, Restricted Project

Apr 1 2022

psamolysov-intel added a comment to D122587: [clang][NFC] Extract the EmitAssemblyHelper::TargetTriple member.

All tests have been passed. Could anyone with the committer privileges help me with landing, please?

Apr 1 2022, 6:01 AM · Restricted Project, Restricted Project

Mar 30 2022

psamolysov-intel added a comment to D122587: [clang][NFC] Extract the EmitAssemblyHelper::TargetTriple member.

Thank you @tejohnson for the approve. If there are no objections from someone could you (or another committer) help me with the landing, please?

Mar 30 2022, 2:49 AM · Restricted Project, Restricted Project

Mar 28 2022

psamolysov-intel added a comment to D122587: [clang][NFC] Extract the EmitAssemblyHelper::TargetTriple member.

I see some code duplication on lines 1056-1065 and 1472-1481, I have a fix for this and going to open a new review after this patch will be landed.

Mar 28 2022, 8:16 AM · Restricted Project, Restricted Project
psamolysov-intel requested review of D122587: [clang][NFC] Extract the EmitAssemblyHelper::TargetTriple member.
Mar 28 2022, 8:13 AM · Restricted Project, Restricted Project

Mar 22 2022

psamolysov-intel updated subscribers of D121671: [InferAddressSpaces][NFC] Small code improvements for the InferAddressSpaces pass.

Thank you very much for landing!

Mar 22 2022, 1:39 AM · Restricted Project, Restricted Project, Restricted Project

Mar 20 2022

psamolysov-intel added a comment to D121671: [InferAddressSpaces][NFC] Small code improvements for the InferAddressSpaces pass.

If there are no objections for this small patch, could someone with committer rights land it, please? Thank you.

Mar 20 2022, 11:59 PM · Restricted Project, Restricted Project, Restricted Project

Mar 16 2022

psamolysov-intel added a comment to D121671: [InferAddressSpaces][NFC] Small code improvements for the InferAddressSpaces pass.

@arsenm Thank you for the approve. If no one has any objections, could you help me with landing because I have no committer rights to the LLVM repository? Thank you.

Mar 16 2022, 1:06 AM · Restricted Project, Restricted Project, Restricted Project

Mar 15 2022

psamolysov-intel added a comment to D121671: [InferAddressSpaces][NFC] Small code improvements for the InferAddressSpaces pass.

All the failed tests on Windows are in the LLVM :: CodeGen/VE/Vector folder, I believe the tests aren't related to the changes introduces by the patch.

Mar 15 2022, 8:08 AM · Restricted Project, Restricted Project, Restricted Project
psamolysov-intel updated the diff for D121671: [InferAddressSpaces][NFC] Small code improvements for the InferAddressSpaces pass.

The linter warnings have been fixed.

Mar 15 2022, 6:37 AM · Restricted Project, Restricted Project, Restricted Project
psamolysov-intel updated the summary of D121671: [InferAddressSpaces][NFC] Small code improvements for the InferAddressSpaces pass.
Mar 15 2022, 12:17 AM · Restricted Project, Restricted Project, Restricted Project
psamolysov-intel requested review of D121671: [InferAddressSpaces][NFC] Small code improvements for the InferAddressSpaces pass.
Mar 15 2022, 12:16 AM · Restricted Project, Restricted Project, Restricted Project

Mar 2 2022

psamolysov-intel added a comment to D120645: [Object] Skip section offset checking for /<XFGHASHMAP>/.

Thank you @mstorsjo for landing.

Mar 2 2022, 3:32 AM · Restricted Project, Restricted Project
psamolysov-intel added a comment to D120645: [Object] Skip section offset checking for /<XFGHASHMAP>/.

Thank you @mstorsjo! I have no commit access, if you can commit this patch, it would be great. You can use the info from https://github.com/psamolysov-intel/llvm/commit/7467ea9a6a173829ab61693dd199ae0d94a0a787

Mar 2 2022, 2:59 AM · Restricted Project, Restricted Project

Mar 1 2022

Herald added a project to D120645: [Object] Skip section offset checking for /<XFGHASHMAP>/: Restricted Project.

x64 debian failed

Mar 1 2022, 10:50 PM · Restricted Project, Restricted Project
psamolysov-intel updated the diff for D120645: [Object] Skip section offset checking for /<XFGHASHMAP>/.

@jhenderson Thank you, I missed the suggestion about the byte literal, sorry. Updated the test.

Mar 1 2022, 5:37 AM · Restricted Project, Restricted Project
psamolysov-intel added a comment to D120645: [Object] Skip section offset checking for /<XFGHASHMAP>/.

@mstorsjo I agree with you, we make some manipulations to get a library with a member named like this. Unfortunately, the member is not documented (or I cannot find the documentation) and it is difficult to build the right library using the Microsoft toolchain.

Mar 1 2022, 4:28 AM · Restricted Project, Restricted Project
psamolysov-intel added inline comments to D120645: [Object] Skip section offset checking for /<XFGHASHMAP>/.
Mar 1 2022, 4:08 AM · Restricted Project, Restricted Project
psamolysov-intel updated the diff for D120645: [Object] Skip section offset checking for /<XFGHASHMAP>/.
Mar 1 2022, 4:06 AM · Restricted Project, Restricted Project
psamolysov-intel updated the diff for D120645: [Object] Skip section offset checking for /<XFGHASHMAP>/.

@jhenderson thank you for the review. I'm not an English native speaker, so some grammar may be bad, sorry. I've put the python script into the test itself as you suggested and added a few comments why this script is used at all.

Mar 1 2022, 4:02 AM · Restricted Project, Restricted Project
psamolysov-intel added a comment to D120645: [Object] Skip section offset checking for /<XFGHASHMAP>/.

@thieta Thank you for the approve. I have no commit right to the repository, so it would be great if someone with the commit rights lands the patch.

Mar 1 2022, 1:50 AM · Restricted Project, Restricted Project
psamolysov-intel updated the diff for D120645: [Object] Skip section offset checking for /<XFGHASHMAP>/.

Thank you for the suggestion. I've added a python script to replace a section with /<XFGHASHMAP>/ and re-created a test to generate the library on the fly.

Mar 1 2022, 1:10 AM · Restricted Project, Restricted Project
psamolysov-intel updated the diff for D120645: [Object] Skip section offset checking for /<XFGHASHMAP>/.

Thanks @jhenderson for the idea to use python to insert (or replace in my case) a section. I've updated the patch and added a test for the llvm-lib tool to list sections from a library with /<XFGHASHMAP>/. I've made a patch using the git diff -U8000 command and I'm not sure the binary file (the library for the test) has been uploaded well. If not, could you share with me the required command to attach the binary content to the patch?

Mar 1 2022, 12:06 AM · Restricted Project, Restricted Project

Feb 28 2022

psamolysov-intel added a comment to D120645: [Object] Skip section offset checking for /<XFGHASHMAP>/.

Unfortunately, I have no idea how to create a library with the /<XFGHASHMAP>/ section. I'm trying to use /guard:cf directive for the compiler as well as for the linker with VS 2019 and 2022 but the generated library contains no such section. I've seen such section only in the standard libraries shipped with Microsoft Windows SDK for Windows 11 but (Kernel32.Lib, for example), as I understand, we cannot attach a 3rd party (Microsoft in this case) library to our project. I tried to create a DLL and interface library for it with a dependency from another DLL or a DLL that contain the DllMain entry point, no success. Any help is welcome.

Feb 28 2022, 7:18 AM · Restricted Project, Restricted Project
psamolysov-intel added a comment to D120645: [Object] Skip section offset checking for /<XFGHASHMAP>/.

Thank you for the comments. I'm going to revert the part about end->End renaming and add a test (or a few).

Feb 28 2022, 1:11 AM · Restricted Project, Restricted Project
psamolysov-intel changed the edit policy for D120645: [Object] Skip section offset checking for /<XFGHASHMAP>/.
Feb 28 2022, 1:05 AM · Restricted Project, Restricted Project
psamolysov-intel updated the summary of D120645: [Object] Skip section offset checking for /<XFGHASHMAP>/.
Feb 28 2022, 12:52 AM · Restricted Project, Restricted Project
psamolysov-intel requested review of D120645: [Object] Skip section offset checking for /<XFGHASHMAP>/.
Feb 28 2022, 12:07 AM · Restricted Project, Restricted Project