Page MenuHomePhabricator

barannikov88 (Sergei Barannikov)
User

Projects

User does not belong to any projects.

User Details

User Since
Dec 10 2020, 9:54 PM (120 w, 1 d)

Recent Activity

Today

barannikov88 updated the diff for D146920: [compiler-rt] Drop -Werror in compiler flag checks.

Fix the other typo

Sat, Apr 1, 3:31 PM · Restricted Project, Restricted Project
barannikov88 abandoned D147392: [compiler-rt] Drop -Werror in compiler flag checks.

arc messed up

Sat, Apr 1, 3:30 PM · Restricted Project, Restricted Project
barannikov88 requested review of D147392: [compiler-rt] Drop -Werror in compiler flag checks.
Sat, Apr 1, 3:27 PM · Restricted Project, Restricted Project
barannikov88 added a comment to D146920: [compiler-rt] Drop -Werror in compiler flag checks.

Nah, it is a typo in both places...
I don't understand what's going on.

Sat, Apr 1, 3:27 PM · Restricted Project, Restricted Project
barannikov88 retitled D146920: [compiler-rt] Drop -Werror in compiler flag checks from [compiler-rt] Quote multiple warning flags in check_cxx_compiler_flag invocation to [compiler-rt] Drop -Werror in compiler flag checks.
Sat, Apr 1, 8:42 AM · Restricted Project, Restricted Project
barannikov88 updated the diff for D146920: [compiler-rt] Drop -Werror in compiler flag checks.

Remove unnecessary -Werror.

Sat, Apr 1, 8:41 AM · Restricted Project, Restricted Project
barannikov88 reopened D146920: [compiler-rt] Drop -Werror in compiler flag checks.

I added -Werror because the changes I made in https://reviews.llvm.org/D131714 broke someone's internal build (see @wlei's comment). Apparently, gcc emits a warning if you try to use -Wformat-security without passing -Wformat too.

-Werror is probably only needed for -Wformat-security, but I think passing it in other places doesn't do any harm.

Sat, Apr 1, 8:24 AM · Restricted Project, Restricted Project
barannikov88 added a comment to D146920: [compiler-rt] Drop -Werror in compiler flag checks.

It appears there is a typo in the use of COMPILER_RT_HAS_BUILTIN_FORMAT_SECURITY_FLAG:
append_list_if(COMPILER_RT_HAS_BUILTIN_FORMAL_SECURITY_FLAG -Werror=format-security flags)
FORMAL vs FORMAT.

Sat, Apr 1, 7:47 AM · Restricted Project, Restricted Project
barannikov88 added a comment to D146920: [compiler-rt] Drop -Werror in compiler flag checks.

This now breaks M68k build https://lab.llvm.org/buildbot#builders/192/builds/1022

cc1: error: -Wformat-security ignored without -Wformat [-Werror=format-security]

Sat, Apr 1, 7:28 AM · Restricted Project, Restricted Project
barannikov88 added a comment to D147077: [compiler-rt] Avoid double-prefixing aliases with __USER_LABEL_PREFIX__.

ping

Sat, Apr 1, 5:51 AM · Restricted Project, Restricted Project
barannikov88 committed rG88c744e7dfaa: [compiler-rt] Quote multiple warning flags in check_cxx_compiler_flag invocation (authored by barannikov88).
[compiler-rt] Quote multiple warning flags in check_cxx_compiler_flag invocation
Sat, Apr 1, 5:31 AM · Restricted Project, Restricted Project
barannikov88 closed D146920: [compiler-rt] Drop -Werror in compiler flag checks.
Sat, Apr 1, 5:31 AM · Restricted Project, Restricted Project
barannikov88 added inline comments to D147374: [compiler-rt] Fix a check that controls adding builtins to CMAKE_REQUIRED_LIBRARIES.
Sat, Apr 1, 5:00 AM · Restricted Project, Restricted Project
barannikov88 added a reviewer for D147374: [compiler-rt] Fix a check that controls adding builtins to CMAKE_REQUIRED_LIBRARIES: MaskRay.
Sat, Apr 1, 5:00 AM · Restricted Project, Restricted Project
barannikov88 added inline comments to D147374: [compiler-rt] Fix a check that controls adding builtins to CMAKE_REQUIRED_LIBRARIES.
Sat, Apr 1, 4:52 AM · Restricted Project, Restricted Project
barannikov88 updated the diff for D146920: [compiler-rt] Drop -Werror in compiler flag checks.

Mention "Reland" in the commit title

Sat, Apr 1, 4:34 AM · Restricted Project, Restricted Project
barannikov88 updated the diff for D146920: [compiler-rt] Drop -Werror in compiler flag checks.

Drop changes to -ftrivial-auto-var-init causing build failures

Sat, Apr 1, 4:26 AM · Restricted Project, Restricted Project
barannikov88 reopened D146920: [compiler-rt] Drop -Werror in compiler flag checks.
Sat, Apr 1, 4:26 AM · Restricted Project, Restricted Project
barannikov88 updated the summary of D147374: [compiler-rt] Fix a check that controls adding builtins to CMAKE_REQUIRED_LIBRARIES.
Sat, Apr 1, 3:52 AM · Restricted Project, Restricted Project
barannikov88 requested review of D147374: [compiler-rt] Fix a check that controls adding builtins to CMAKE_REQUIRED_LIBRARIES.
Sat, Apr 1, 3:51 AM · Restricted Project, Restricted Project

Yesterday

barannikov88 added inline comments to D147264: [DAG] Add SelectionDAG::SplitScalar helper.
Fri, Mar 31, 3:01 AM · Restricted Project, Restricted Project

Thu, Mar 30

barannikov88 added inline comments to D147264: [DAG] Add SelectionDAG::SplitScalar helper.
Thu, Mar 30, 10:08 PM · Restricted Project, Restricted Project
barannikov88 added a comment to D145658: [Xtensa] Initial support of the ALU operations..

I briefly glanced at other patches and can't review / accept them without good test coverage.

Thu, Mar 30, 8:31 PM · Restricted Project, Restricted Project
barannikov88 resigned from D145872: TableGen: Let expressions available to list subscripts and list slices.

I like the idea, but the implementation looks more like a PoC than a complete solution.
There is clearly an overlap between RangeList and SliceElements and I don't see why they should be distinct.
I am not a TableGen expert so take my words with a grain of salt. I won't be able to review it well.
Maybe @nhaehnle could take a look?

Thu, Mar 30, 8:22 PM · Restricted Project, Restricted Project
barannikov88 added inline comments to D145872: TableGen: Let expressions available to list subscripts and list slices.
Thu, Mar 30, 5:15 PM · Restricted Project, Restricted Project
barannikov88 added a comment to D146920: [compiler-rt] Drop -Werror in compiler flag checks.

Feel free to include the changes from D147164 as part of this patch, which should fix the errors.

Thu, Mar 30, 2:06 AM · Restricted Project, Restricted Project
barannikov88 added inline comments to D147031: [MachineCopy] Enhance sub register machine copy propagation.
Thu, Mar 30, 2:01 AM · Restricted Project, Restricted Project

Wed, Mar 29

barannikov88 committed rG1f5e9a350211: [MCP] Do not try forward non-existent sub-register of a copy (authored by barannikov88).
[MCP] Do not try forward non-existent sub-register of a copy
Wed, Mar 29, 8:11 PM · Restricted Project, Restricted Project
barannikov88 closed D146930: [MCP] Do not try forward non-existent sub-register of a copy.
Wed, Mar 29, 8:11 PM · Restricted Project, Restricted Project
barannikov88 updated the diff for D146930: [MCP] Do not try forward non-existent sub-register of a copy.

Try to refine assertion message.

Wed, Mar 29, 7:18 PM · Restricted Project, Restricted Project
barannikov88 added a comment to D147164: [compiler-rt] Fix build of Sanitizer-${arch}-Test-Nolibc.

There seem to be an issue with tsan?

Wed, Mar 29, 9:57 AM · Restricted Project, Restricted Project
barannikov88 added a comment to D146920: [compiler-rt] Drop -Werror in compiler flag checks.

Looks like @smeenai was working on a fix-forward in https://reviews.llvm.org/D147164. Those should be either merged and submitted together or landed together. Thanks :)

Wed, Mar 29, 9:19 AM · Restricted Project, Restricted Project

Tue, Mar 28

barannikov88 added inline comments to D146930: [MCP] Do not try forward non-existent sub-register of a copy.
Tue, Mar 28, 9:25 PM · Restricted Project, Restricted Project
barannikov88 committed rGe4918d43763e: [compiler-rt] Quote multiple warning flags in check_cxx_compiler_flag invocation (authored by barannikov88).
[compiler-rt] Quote multiple warning flags in check_cxx_compiler_flag invocation
Tue, Mar 28, 9:22 PM · Restricted Project, Restricted Project
barannikov88 closed D146920: [compiler-rt] Drop -Werror in compiler flag checks.
Tue, Mar 28, 9:22 PM · Restricted Project, Restricted Project
barannikov88 abandoned D147085: [crt] Stringize __USER_LABEL_PREFIX__ in asm strings.

Abandoned in favor of D147093.

Tue, Mar 28, 9:06 PM · Restricted Project, Restricted Project
barannikov88 added inline comments to D147031: [MachineCopy] Enhance sub register machine copy propagation.
Tue, Mar 28, 5:27 PM · Restricted Project, Restricted Project
barannikov88 added a comment to D147031: [MachineCopy] Enhance sub register machine copy propagation.

It crashes on the test from D146930.

Tue, Mar 28, 5:25 PM · Restricted Project, Restricted Project
barannikov88 accepted D147093: [crt] Remove __USER_LABEL_PREFIX__.

Related: D147085
__USER_LABEL_PREFIX__ is always defined. It is usually defined to nothing though, i.e. just
#define __USER_LABEL_PREFIX__
In this case the file compiles just fine. It does not compile if the prefix is non-empty, e.g.:
#define __USER_LABEL_PREFIX__ _
because it is just a token and not a string.
I don't know if it is valid for the label prefix to be non-empty on ELF platforms (and couldn't find an example),
but I don't see why it couldn't be.

Tue, Mar 28, 4:48 PM · Restricted Project, Restricted Project
barannikov88 planned changes to D147085: [crt] Stringize __USER_LABEL_PREFIX__ in asm strings.

Wait for D147093 resolution.

Tue, Mar 28, 4:22 PM · Restricted Project, Restricted Project
barannikov88 added a comment to D147085: [crt] Stringize __USER_LABEL_PREFIX__ in asm strings.

The prefix has only caused troubles; it will probably go away once I am able to build newlib using clang.

Tue, Mar 28, 3:42 PM · Restricted Project, Restricted Project
barannikov88 added a comment to D147085: [crt] Stringize __USER_LABEL_PREFIX__ in asm strings.

The code only makes sense for some ELF platforms, not Mach-O platforms where __USER_LABEL_PREFIX__ is (usually) _.
What platforms are you building the code with and seeing a problem?

Tue, Mar 28, 3:34 PM · Restricted Project, Restricted Project
barannikov88 updated the summary of D147085: [crt] Stringize __USER_LABEL_PREFIX__ in asm strings.
Tue, Mar 28, 2:11 PM · Restricted Project, Restricted Project
barannikov88 added reviewers for D147085: [crt] Stringize __USER_LABEL_PREFIX__ in asm strings: aaron.ballman, mstorsjo, phosek.
Tue, Mar 28, 2:10 PM · Restricted Project, Restricted Project
barannikov88 requested review of D147085: [crt] Stringize __USER_LABEL_PREFIX__ in asm strings.
Tue, Mar 28, 2:09 PM · Restricted Project, Restricted Project
barannikov88 added reviewers for D147077: [compiler-rt] Avoid double-prefixing aliases with __USER_LABEL_PREFIX__: dim, fdischner, phosek.
Tue, Mar 28, 1:32 PM · Restricted Project, Restricted Project
barannikov88 requested review of D147077: [compiler-rt] Avoid double-prefixing aliases with __USER_LABEL_PREFIX__.
Tue, Mar 28, 1:28 PM · Restricted Project, Restricted Project
barannikov88 updated the diff for D146920: [compiler-rt] Drop -Werror in compiler flag checks.

Fix another occurance

Tue, Mar 28, 1:17 PM · Restricted Project, Restricted Project
barannikov88 added a comment to D147042: [HardwareLoops] Default values.

The commit message does not make it clear why this change is necessary.
(And the title does not tell anything at all.)

Tue, Mar 28, 7:49 AM · Restricted Project, Restricted Project
barannikov88 added a comment to D147031: [MachineCopy] Enhance sub register machine copy propagation.

Does it try to solve the same problem as D146930?

Tue, Mar 28, 7:29 AM · Restricted Project, Restricted Project

Mon, Mar 27

barannikov88 added inline comments to D146930: [MCP] Do not try forward non-existent sub-register of a copy.
Mon, Mar 27, 9:09 PM · Restricted Project, Restricted Project
barannikov88 added inline comments to D146930: [MCP] Do not try forward non-existent sub-register of a copy.
Mon, Mar 27, 9:03 PM · Restricted Project, Restricted Project
barannikov88 added a comment to D146880: Make git ignore core files.

IMHO .gitignore is for files that are strictly project-related. Everything else should go into local .git/info/exclude.

Mon, Mar 27, 6:38 PM · Restricted Project, Restricted Project
barannikov88 added a comment to D145658: [Xtensa] Initial support of the ALU operations..

Half of the includes and forward declarations are unused.
I'm not familiar with the ABI to review this part.
However, manual handling of i1, i8, i16 and f32 looks suspicious, because they are all illegal.
Looks like a dead code to me, but I may be wrong.

Mon, Mar 27, 6:12 PM · Restricted Project, Restricted Project
barannikov88 updated the diff for D146930: [MCP] Do not try forward non-existent sub-register of a copy.

Drop 'renamable' on the registers that are not really renamable.

Mon, Mar 27, 12:13 AM · Restricted Project, Restricted Project
barannikov88 added a reviewer for D146930: [MCP] Do not try forward non-existent sub-register of a copy: resistor.
Mon, Mar 27, 12:00 AM · Restricted Project, Restricted Project

Sun, Mar 26

barannikov88 retitled D146930: [MCP] Do not try forward non-existent sub-register of a copy from [MCP] Properly handle sub-register forwarding to [MCP] Do not try forward non-existent sub-register of a copy.
Sun, Mar 26, 11:59 PM · Restricted Project, Restricted Project
barannikov88 updated the diff for D146930: [MCP] Do not try forward non-existent sub-register of a copy.

Strip changes that are not necessary for fixing the bug.
They will be in a separate commit.

Sun, Mar 26, 11:57 PM · Restricted Project, Restricted Project
barannikov88 updated the diff for D146930: [MCP] Do not try forward non-existent sub-register of a copy.

Rebase

Sun, Mar 26, 11:34 PM · Restricted Project, Restricted Project
barannikov88 added a comment to D146934: [AMDGPU] Update mcp-overlap-after-propagation.mir test.

The change effectively disables BackwardCopyPropagateBlock that folded the first copy into
the preceding load, eliminating definition of s[60-67], which is necessary to reproduce the bug.

Sun, Mar 26, 11:33 PM · Restricted Project, Restricted Project
barannikov88 added reviewers for D146934: [AMDGPU] Update mcp-overlap-after-propagation.mir test: arsenm, tpr.
Sun, Mar 26, 11:28 PM · Restricted Project, Restricted Project
barannikov88 requested review of D146934: [AMDGPU] Update mcp-overlap-after-propagation.mir test.
Sun, Mar 26, 11:27 PM · Restricted Project, Restricted Project
barannikov88 updated the diff for D146930: [MCP] Do not try forward non-existent sub-register of a copy.

Add a positive test

Sun, Mar 26, 9:26 PM · Restricted Project, Restricted Project
barannikov88 requested review of D146930: [MCP] Do not try forward non-existent sub-register of a copy.
Sun, Mar 26, 9:10 PM · Restricted Project, Restricted Project
barannikov88 added a comment to D146906: Generate `MachineValueType.h` (partially) from `ValueTypes.td`.
Sun, Mar 26, 6:45 PM · Restricted Project, Restricted Project
barannikov88 added a comment to D146906: Generate `MachineValueType.h` (partially) from `ValueTypes.td`.

@barannikov88 Could you see D146352 and the series of D145937?
I will create a small tablegen (including this) w/o MVT.h.

Sun, Mar 26, 4:16 PM · Restricted Project, Restricted Project
barannikov88 added a comment to D146906: Generate `MachineValueType.h` (partially) from `ValueTypes.td`.

This wont work as llvm-tblgen depends on MachineValueTypes.h.

Sun, Mar 26, 9:43 AM · Restricted Project, Restricted Project
barannikov88 added a reviewer for D146920: [compiler-rt] Drop -Werror in compiler flag checks: ahatanak.
Sun, Mar 26, 9:33 AM · Restricted Project, Restricted Project
barannikov88 added a comment to D146920: [compiler-rt] Drop -Werror in compiler flag checks.

I'm not sure this is the right thing to do. The regression was introduced in https://github.com/llvm/llvm-project/commit/f051c1ded40970169cda84b0966331ae7ad424ed

Sun, Mar 26, 9:32 AM · Restricted Project, Restricted Project
barannikov88 updated the diff for D146920: [compiler-rt] Drop -Werror in compiler flag checks.

Update commit message

Sun, Mar 26, 9:30 AM · Restricted Project, Restricted Project
barannikov88 updated the summary of D146920: [compiler-rt] Drop -Werror in compiler flag checks.
Sun, Mar 26, 9:29 AM · Restricted Project, Restricted Project
barannikov88 added a reviewer for D146920: [compiler-rt] Drop -Werror in compiler flag checks: phosek.
Sun, Mar 26, 9:28 AM · Restricted Project, Restricted Project
barannikov88 requested review of D146920: [compiler-rt] Drop -Werror in compiler flag checks.
Sun, Mar 26, 9:28 AM · Restricted Project, Restricted Project

Fri, Mar 24

barannikov88 added inline comments to D141916: WIP: Unwindabort: add support for IR transforms and analysis..
Fri, Mar 24, 4:11 PM · Restricted Project, Restricted Project
barannikov88 accepted D142219: [MC] Store operand info immediately after the TargetInsts table. NFC..

Still LGTM

Fri, Mar 24, 8:01 AM · Restricted Project, Restricted Project

Wed, Mar 15

barannikov88 added a comment to D131051: [CMake] Fix runtimes cross-compilation when using LLVM_USE_LINKER.

@thevinster
Thanks for the confirmation.

Wed, Mar 15, 2:09 PM · Restricted Project, Restricted Project
barannikov88 added a comment to D131051: [CMake] Fix runtimes cross-compilation when using LLVM_USE_LINKER.

This still does not look right to me.
Shouldn't PASSTHROUGH_PREFIXES have just been removed in this invocation?

Wed, Mar 15, 11:10 AM · Restricted Project, Restricted Project

Sun, Mar 12

barannikov88 added a comment to D135663: [libunwind] Install the headers by default.

clang's unwind.h also gets installed and is found first when included from a source file (and it includes_next the libunwind's version, but only for apple platforms).
Not sure I understand the logic, may it be somehow related to the fact that clang driver supports different unwind libraries?
Either way, installing libunwind's header by default does not update clang's version, so the issue persists.

Sun, Mar 12, 11:25 AM · Restricted Project, Restricted Project, Restricted Project

Feb 16 2023

barannikov88 accepted D144210: [TableGen] Delete support for deprecated positional matching..

LGTM, great job!

Feb 16 2023, 1:57 PM · Restricted Project, Restricted Project
barannikov88 committed rG574e417460cd: [clang] Fix a bug that allowed some overflowing octal escape sequences (authored by barannikov88).
[clang] Fix a bug that allowed some overflowing octal escape sequences
Feb 16 2023, 4:21 AM · Restricted Project, Restricted Project
barannikov88 closed D144100: [clang] Fix a bug that allowed some overflowing octal escape sequences.
Feb 16 2023, 4:20 AM · Restricted Project, Restricted Project
barannikov88 updated the diff for D144100: [clang] Fix a bug that allowed some overflowing octal escape sequences.

Update the comment

Feb 16 2023, 12:45 AM · Restricted Project, Restricted Project

Feb 15 2023

barannikov88 added a reviewer for D144100: [clang] Fix a bug that allowed some overflowing octal escape sequences: aaron.ballman.
Feb 15 2023, 6:15 AM · Restricted Project, Restricted Project
barannikov88 added a reviewer for D144100: [clang] Fix a bug that allowed some overflowing octal escape sequences: cor3ntin.
Feb 15 2023, 6:07 AM · Restricted Project, Restricted Project
barannikov88 requested review of D144100: [clang] Fix a bug that allowed some overflowing octal escape sequences.
Feb 15 2023, 6:06 AM · Restricted Project, Restricted Project

Feb 10 2023

barannikov88 added inline comments to D142219: [MC] Store operand info immediately after the TargetInsts table. NFC..
Feb 10 2023, 1:17 PM · Restricted Project, Restricted Project

Feb 7 2023

barannikov88 added a comment to D143468: [CMake] Remove custom ccache CMake logic.

I'm afraid this change will go unnoticed by build bots. They must be updated first, and a deprecation warning could help (before removing the support).

Feb 7 2023, 1:57 AM · Restricted Project, Restricted Project, Restricted Project

Feb 5 2023

barannikov88 requested review of D143336: [MC][AsmParser] Add `MCTargetAsmParser::isStartOfInstruction` hook.
Feb 5 2023, 2:52 AM · Restricted Project, Restricted Project

Feb 2 2023

barannikov88 accepted D137670: [PowerPC] Switch to by-name matching for instructions (part 2 of 2)..

LGTM with one note

Feb 2 2023, 1:16 AM · Restricted Project, Restricted Project
barannikov88 accepted D137661: [PowerPC] Switch to by-name matching for instructions (part 1 of 2)..

LGTM
I can confirm that MTVRSAVEv change is the only non-comment change in the generated files.
Thorough work!

Feb 2 2023, 12:20 AM · Restricted Project, Restricted Project

Feb 1 2023

barannikov88 added a reviewer for D137670: [PowerPC] Switch to by-name matching for instructions (part 2 of 2).: barannikov88.
Feb 1 2023, 11:05 PM · Restricted Project, Restricted Project
barannikov88 added a reviewer for D137661: [PowerPC] Switch to by-name matching for instructions (part 1 of 2).: barannikov88.
Feb 1 2023, 11:04 PM · Restricted Project, Restricted Project

Jan 31 2023

barannikov88 committed rGa7fbca40805c: [NFC] Extract `CodeGenInstAlias` into its own *.h/*.cpp (authored by barannikov88).
[NFC] Extract `CodeGenInstAlias` into its own *.h/*.cpp
Jan 31 2023, 6:24 PM · Restricted Project, Restricted Project, Restricted Project
barannikov88 closed D142968: [NFC] Extract `CodeGenInstAlias` into its own *.h/*.cpp.
Jan 31 2023, 6:24 PM · Restricted Project, Restricted Project, Restricted Project
barannikov88 added a comment to D142968: [NFC] Extract `CodeGenInstAlias` into its own *.h/*.cpp.

I intent to make make InstAlias with "complex" operands (non-empty MIOperandInfo) more robust (stricter syntax). There is also a couple of bugs I'd like to fix.
The change will clobber most of the code here, and I thought it is a good time to move the class to a dedicated file.
Another weak point is that this class is only used in AsmMatcherEmitter and AsmWriterEmitter, while CodeGenInstruction.h is included everywhere.
The class does not have long history; there were only a few functional changes since initial commit.

Jan 31 2023, 3:55 AM · Restricted Project, Restricted Project, Restricted Project
barannikov88 added reviewers for D142968: [NFC] Extract `CodeGenInstAlias` into its own *.h/*.cpp: foad, MaskRay.
Jan 31 2023, 3:00 AM · Restricted Project, Restricted Project, Restricted Project
barannikov88 requested review of D142968: [NFC] Extract `CodeGenInstAlias` into its own *.h/*.cpp.
Jan 31 2023, 2:54 AM · Restricted Project, Restricted Project, Restricted Project
barannikov88 committed rG41e48838216a: [Thumb2] Upgrade intrinsic upgrading code (authored by barannikov88).
[Thumb2] Upgrade intrinsic upgrading code
Jan 31 2023, 2:13 AM · Restricted Project, Restricted Project
barannikov88 closed D142900: [Thumb2] Upgrade intrinsic upgrading code.
Jan 31 2023, 2:12 AM · Restricted Project, Restricted Project

Jan 30 2023

barannikov88 updated the diff for D142900: [Thumb2] Upgrade intrinsic upgrading code.

Keep both spellings

Jan 30 2023, 3:13 PM · Restricted Project, Restricted Project