Page MenuHomePhabricator

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

kpdev42 (Pavel Kosov)
User

Projects

User does not belong to any projects.

User Details

User Since
Aug 19 2019, 4:12 AM (223 w, 6 d)

Recent Activity

Sep 2 2023

kpdev42 added a comment to D146804: [libcxx] Add OHOS support.

Friendly ping? We'll be moving to GitHub soon can you update the patch if still interested into getting this in libc++?

Sep 2 2023, 12:35 AM · Restricted Project, Restricted Project, Restricted Project

Aug 25 2023

kpdev42 committed rG742fa941f21d: [llvm-exegesis] Skip codegen of known-invalid snippets (authored by kpdev42).
[llvm-exegesis] Skip codegen of known-invalid snippets
Aug 25 2023, 6:45 AM · Restricted Project, Restricted Project
kpdev42 closed D146304: [llvm-exegesis] Skip codegen of known-invalid snippets.
Aug 25 2023, 6:44 AM · Restricted Project, Restricted Project

Aug 16 2023

kpdev42 committed rG83695d45d621: [lldb][gui] Update TreeItem children's m_parent on move (authored by kpdev42).
[lldb][gui] Update TreeItem children's m_parent on move
Aug 16 2023, 1:11 AM · Restricted Project
kpdev42 closed D157960: [lldb][gui] Update TreeItem children's m_parent on move.
Aug 16 2023, 1:11 AM · Restricted Project, Restricted Project

Aug 15 2023

kpdev42 requested review of D157960: [lldb][gui] Update TreeItem children's m_parent on move.
Aug 15 2023, 3:34 AM · Restricted Project, Restricted Project

Aug 14 2023

kpdev42 added a comment to D155168: [OSX][TargetLibraryInfo] Mark memrchr as unavailable on OSX.

@nikic @mohd-akram Thank you for the review

Aug 14 2023, 2:32 AM · Restricted Project, Restricted Project
kpdev42 committed rGa7a6ef3b8091: [OSX][TargetLibraryInfo] Mark memrchr as unavailable on OSX (authored by kpdev42).
[OSX][TargetLibraryInfo] Mark memrchr as unavailable on OSX
Aug 14 2023, 2:31 AM · Restricted Project, Restricted Project
kpdev42 closed D155168: [OSX][TargetLibraryInfo] Mark memrchr as unavailable on OSX.
Aug 14 2023, 2:30 AM · Restricted Project, Restricted Project

Aug 2 2023

kpdev42 committed rG37ef64078553: [llvm-exegesis] Prevent llvm-exegesis from using unsupported opcodes (authored by kpdev42).
[llvm-exegesis] Prevent llvm-exegesis from using unsupported opcodes
Aug 2 2023, 5:44 AM · Restricted Project, Restricted Project
kpdev42 closed D146303: [llvm-exegesis] Prevent llvm-exegesis from using unsupported opcodes.
Aug 2 2023, 5:44 AM · Restricted Project, Restricted Project

Jul 26 2023

kpdev42 updated the diff for D146303: [llvm-exegesis] Prevent llvm-exegesis from using unsupported opcodes.

Change according to clang-format

Jul 26 2023, 9:29 AM · Restricted Project, Restricted Project

Jul 21 2023

kpdev42 updated the diff for D146303: [llvm-exegesis] Prevent llvm-exegesis from using unsupported opcodes.

Rebased

Jul 21 2023, 6:08 AM · Restricted Project, Restricted Project

Jul 13 2023

kpdev42 added a comment to D155168: [OSX][TargetLibraryInfo] Mark memrchr as unavailable on OSX.

Tests for this feature also cannot be easily added: https://reviews.llvm.org/D134134#3801747

You should be able to test that InstCombine does not perform the strrchr -> memrchr fold if a macos triple is given.

Jul 13 2023, 3:43 AM · Restricted Project, Restricted Project
kpdev42 added inline comments to D155168: [OSX][TargetLibraryInfo] Mark memrchr as unavailable on OSX.
Jul 13 2023, 3:23 AM · Restricted Project, Restricted Project
kpdev42 updated the diff for D155168: [OSX][TargetLibraryInfo] Mark memrchr as unavailable on OSX.

Fix typo (memchr -> memrchr)

Jul 13 2023, 3:23 AM · Restricted Project, Restricted Project
kpdev42 requested review of D155168: [OSX][TargetLibraryInfo] Mark memrchr as unavailable on OSX.
Jul 13 2023, 3:13 AM · Restricted Project, Restricted Project
kpdev42 added inline comments to D145227: [LLVM][OHOS] Clang toolchain and targets.
Jul 13 2023, 2:09 AM · Restricted Project, Restricted Project, Restricted Project

Jun 16 2023

kpdev42 committed rG27f37db76a79: [llvm-exegesis] Use MCJIT only for execution (authored by kpdev42).
[llvm-exegesis] Use MCJIT only for execution
Jun 16 2023, 12:39 AM · Restricted Project, Restricted Project
kpdev42 closed D148921: [llvm-exegesis] Use MCJIT only for execution.
Jun 16 2023, 12:39 AM · Restricted Project, Restricted Project

Jun 7 2023

kpdev42 committed rG671ea052fbc1: [TableGen] Emit separate computeRequiredFeatures() function (authored by kpdev42).
[TableGen] Emit separate computeRequiredFeatures() function
Jun 7 2023, 8:24 AM · Restricted Project, Restricted Project
kpdev42 closed D148516: [TableGen] Emit separate computeRequiredFeatures() function.
Jun 7 2023, 8:24 AM · Restricted Project, Restricted Project

May 3 2023

kpdev42 accepted D149378: [Docs][llvm-exegesis] Specify supported platforms and architectures.
May 3 2023, 4:19 AM · Restricted Project, Restricted Project

Apr 28 2023

kpdev42 updated the diff for D149327: [llvm-exegesis] Create snippet object files with predictable names.

Update patch

Apr 28 2023, 1:20 PM · Restricted Project, Restricted Project
kpdev42 added a comment to D149378: [Docs][llvm-exegesis] Specify supported platforms and architectures.

As far as I know, all powerpc(64)?(le)?-linux-gnu triples are reported as unsupported except for powerpc64le-..., so PowerPC support seems to be not unconditional.

Apr 28 2023, 1:09 PM · Restricted Project, Restricted Project

Apr 27 2023

kpdev42 requested review of D149329: [llvm-exegesis] Dump generated snippets in assembler form.
Apr 27 2023, 2:25 AM · Restricted Project, Restricted Project
kpdev42 requested review of D149327: [llvm-exegesis] Create snippet object files with predictable names.
Apr 27 2023, 2:12 AM · Restricted Project, Restricted Project
kpdev42 added inline comments to D148921: [llvm-exegesis] Use MCJIT only for execution.
Apr 27 2023, 1:03 AM · Restricted Project, Restricted Project
kpdev42 updated the diff for D148921: [llvm-exegesis] Use MCJIT only for execution.

Address review comments

Apr 27 2023, 12:57 AM · Restricted Project, Restricted Project

Apr 26 2023

kpdev42 added a comment to D143347: [lldb][DWARF] Infer no_unique_address attribute.

So what are next steps? Are we going for implementation of DW_AT_no_unique_address (which is going to be a non-standard extension) ?
@dblaikie @aprantl @Michael137

Apr 26 2023, 5:16 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
kpdev42 added a comment to D147776: [llvm-exegesis][AArch64] Handle OPERAND_UNKNOWN.

I wanted gchatelet@ to have a look at this, because he wrote the Instruction/Operand code. In particular, I'm wondering why we're not using the info on the actual Operand value rather than relying on the MCOperandInfo for the operand. Specifically, we do know that this is a register since we return true for isReg, so we could just bake this knowledge into getExplicitOperandInfo in a target-independant way.

That being said, I don't know how the AArch64 backend is design, but it feels weird that the target info for that opearnd is OPERAND_UNKNOWN if we know that it's a register.

Apr 26 2023, 5:15 AM · Restricted Project, Restricted Project

Apr 24 2023

kpdev42 added inline comments to D148516: [TableGen] Emit separate computeRequiredFeatures() function.
Apr 24 2023, 12:44 PM · Restricted Project, Restricted Project
kpdev42 updated the diff for D148516: [TableGen] Emit separate computeRequiredFeatures() function.

Address review comment

Apr 24 2023, 12:44 PM · Restricted Project, Restricted Project
kpdev42 committed rG7ead39aca61e: [llvm-exegesis] Fix ifdefs in X86/Target.cpp (authored by kpdev42).
[llvm-exegesis] Fix ifdefs in X86/Target.cpp
Apr 24 2023, 12:33 PM · Restricted Project, Restricted Project
kpdev42 closed D147926: [llvm-exegesis] Fix ifdefs in X86/Target.cpp.
Apr 24 2023, 12:32 PM · Restricted Project, Restricted Project

Apr 21 2023

kpdev42 updated the summary of D148921: [llvm-exegesis] Use MCJIT only for execution.
Apr 21 2023, 6:08 AM · Restricted Project, Restricted Project
kpdev42 added a comment to D147699: [llvm-exegesis][AArch64] Add return statement at the end of the snippet correctly.

Ping on this, can we revert or fix this? I don't think running the aarch64 tests on a big-endian system is really supported. This is the same kind of crash that prompted by to write D145763.

Sure, will try to fix it

Apr 21 2023, 6:07 AM · Restricted Project, Restricted Project
kpdev42 added a comment to D148807: [llvm-exegesis][AArch64] Only run tests on aarch64 hosts.

Sorry for delay, this patch https://reviews.llvm.org/D148921 should fix the tests on s390x and make it possible to run tests that not involve code execution on any platform. The issue seems to be because llvm-exegesis was initially intended to only generate code for host CPU, so even after --mtriple option was introduced it used MCJIT for fetching assembled_snippet for historical reasons.

Apr 21 2023, 5:59 AM · Restricted Project, Restricted Project
kpdev42 requested review of D148921: [llvm-exegesis] Use MCJIT only for execution.
Apr 21 2023, 5:56 AM · Restricted Project, Restricted Project

Apr 20 2023

kpdev42 added a comment to D147776: [llvm-exegesis][AArch64] Handle OPERAND_UNKNOWN.

ping
@courbet could you please take a look?

Apr 20 2023, 8:58 AM · Restricted Project, Restricted Project
kpdev42 added a comment to D144392: [lldb] Skip signal handlers for ignored signals on lldb-server's side when stepping.

@jingham could you please take a look?

Apr 20 2023, 3:58 AM · Restricted Project, Restricted Project
kpdev42 added a comment to D144390: [lldb] Send QPassSignals packet on attach, and at start for remote platforms.

ping

Apr 20 2023, 3:57 AM · Restricted Project, Restricted Project

Apr 19 2023

kpdev42 committed rG8e0ee5ab9f34: [llvm-exegesis] Allow setting dump file name (authored by kpdev42).
[llvm-exegesis] Allow setting dump file name
Apr 19 2023, 1:00 AM · Restricted Project, Restricted Project
kpdev42 closed D147700: [llvm-exegesis] Allow setting dump file name.
Apr 19 2023, 12:59 AM · Restricted Project, Restricted Project

Apr 17 2023

kpdev42 added a comment to D147699: [llvm-exegesis][AArch64] Add return statement at the end of the snippet correctly.

Ping on this, can we revert or fix this? I don't think running the aarch64 tests on a big-endian system is really supported. This is the same kind of crash that prompted by to write D145763.

Apr 17 2023, 11:31 PM · Restricted Project, Restricted Project
kpdev42 committed rGc3ec3ed2a1f3: [LLVM][OHOS] Use emulated TLS for OHOS platform (authored by kpdev42).
[LLVM][OHOS] Use emulated TLS for OHOS platform
Apr 17 2023, 7:36 AM · Restricted Project, Restricted Project
kpdev42 closed D145224: [LLVM][OHOS] Use emulated TLS for OHOS platform.
Apr 17 2023, 7:36 AM · Restricted Project, Restricted Project
kpdev42 added reviewers for D148516: [TableGen] Emit separate computeRequiredFeatures() function: scanf, craig.topper.
Apr 17 2023, 5:54 AM · Restricted Project, Restricted Project
kpdev42 updated the diff for D146303: [llvm-exegesis] Prevent llvm-exegesis from using unsupported opcodes.

Reworked the patch. Now it should not increase the size of unrelated
llvm tools and clang. Most of the changes to TableGen emitter are
factored out into a separate patch https://reviews.llvm.org/D148516

Apr 17 2023, 5:50 AM · Restricted Project, Restricted Project
kpdev42 requested review of D148516: [TableGen] Emit separate computeRequiredFeatures() function.
Apr 17 2023, 5:42 AM · Restricted Project, Restricted Project
kpdev42 added a comment to D147926: [llvm-exegesis] Fix ifdefs in X86/Target.cpp.

ping

Apr 17 2023, 5:07 AM · Restricted Project, Restricted Project
kpdev42 added a comment to D145224: [LLVM][OHOS] Use emulated TLS for OHOS platform.

@jrtc27 Please take a look

Apr 17 2023, 3:17 AM · Restricted Project, Restricted Project

Apr 14 2023

kpdev42 updated the diff for D145224: [LLVM][OHOS] Use emulated TLS for OHOS platform.

Address review comment

Apr 14 2023, 3:27 AM · Restricted Project, Restricted Project
kpdev42 added inline comments to D143347: [lldb][DWARF] Infer no_unique_address attribute.
Apr 14 2023, 3:04 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
kpdev42 added inline comments to D147700: [llvm-exegesis] Allow setting dump file name.
Apr 14 2023, 2:43 AM · Restricted Project, Restricted Project
kpdev42 updated the diff for D147700: [llvm-exegesis] Allow setting dump file name.

Address review comments

Apr 14 2023, 2:42 AM · Restricted Project, Restricted Project

Apr 13 2023

kpdev42 added a comment to D147776: [llvm-exegesis][AArch64] Handle OPERAND_UNKNOWN.

ping

Apr 13 2023, 4:22 AM · Restricted Project, Restricted Project
kpdev42 added a comment to D147700: [llvm-exegesis] Allow setting dump file name.

ping

Apr 13 2023, 4:22 AM · Restricted Project, Restricted Project

Apr 12 2023

kpdev42 updated the diff for D143347: [lldb][DWARF] Infer no_unique_address attribute.

Thanks for pointing out the bug @Michael137 . It seems that clang assigns arbitrary offsets for non_unique_address so analyzing them brings me nowhere. In this patch I tried assigning no_unique_address to every empty structure and this fixed issue you found, making the code changes much smaller and simpler. The lldb test suite pass for me as well

Apr 12 2023, 1:02 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project

Apr 10 2023

kpdev42 updated the diff for D145224: [LLVM][OHOS] Use emulated TLS for OHOS platform.

Address review comments

Apr 10 2023, 8:25 AM · Restricted Project, Restricted Project
kpdev42 requested review of D147926: [llvm-exegesis] Fix ifdefs in X86/Target.cpp.
Apr 10 2023, 3:04 AM · Restricted Project, Restricted Project
kpdev42 accepted D147842: [Docs][llvm-exegesis] Add documentation for --use-dummy-perf-counters.
Apr 10 2023, 2:53 AM · Restricted Project, Restricted Project
kpdev42 added a comment to D147842: [Docs][llvm-exegesis] Add documentation for --use-dummy-perf-counters.

@aidengrossman thank you. LGTM (only need to fix typo)

Apr 10 2023, 2:53 AM · Restricted Project, Restricted Project
kpdev42 added inline comments to D147842: [Docs][llvm-exegesis] Add documentation for --use-dummy-perf-counters.
Apr 10 2023, 2:52 AM · Restricted Project, Restricted Project

Apr 7 2023

kpdev42 added inline comments to D143347: [lldb][DWARF] Infer no_unique_address attribute.
Apr 7 2023, 7:11 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
kpdev42 added inline comments to D143347: [lldb][DWARF] Infer no_unique_address attribute.
Apr 7 2023, 7:08 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
kpdev42 updated the diff for D143347: [lldb][DWARF] Infer no_unique_address attribute.

Address review comments

Apr 7 2023, 7:04 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
kpdev42 added a comment to D146303: [llvm-exegesis] Prevent llvm-exegesis from using unsupported opcodes.

Thanks for the data. Can you get someone to approve that the size change is OK ? Otherwise LGTM for the exegesis part.

Apr 7 2023, 5:44 AM · Restricted Project, Restricted Project
kpdev42 updated the diff for D146303: [llvm-exegesis] Prevent llvm-exegesis from using unsupported opcodes.

Rebase patch

Apr 7 2023, 5:42 AM · Restricted Project, Restricted Project
kpdev42 updated the diff for D146304: [llvm-exegesis] Skip codegen of known-invalid snippets.

Rebase patch

Apr 7 2023, 5:36 AM · Restricted Project, Restricted Project
kpdev42 added a comment to D146304: [llvm-exegesis] Skip codegen of known-invalid snippets.

ping

Apr 7 2023, 4:23 AM · Restricted Project, Restricted Project
kpdev42 added a comment to D146303: [llvm-exegesis] Prevent llvm-exegesis from using unsupported opcodes.

ping

Apr 7 2023, 4:22 AM · Restricted Project, Restricted Project
kpdev42 requested review of D147776: [llvm-exegesis][AArch64] Handle OPERAND_UNKNOWN.
Apr 7 2023, 2:38 AM · Restricted Project, Restricted Project
kpdev42 updated the diff for D147700: [llvm-exegesis] Allow setting dump file name.

Address review comments

Apr 7 2023, 2:35 AM · Restricted Project, Restricted Project

Apr 6 2023

kpdev42 added inline comments to D147700: [llvm-exegesis] Allow setting dump file name.
Apr 6 2023, 5:55 AM · Restricted Project, Restricted Project
kpdev42 added a comment to D146804: [libcxx] Add OHOS support.

As usual: Do you plan to get official support for OpenHarmony in libc++? If that's the case, please take a look at https://libcxx.llvm.org/AddingNewCIJobs.html#addingnewcijobs.

Apr 6 2023, 5:33 AM · Restricted Project, Restricted Project, Restricted Project
kpdev42 added a comment to D146804: [libcxx] Add OHOS support.

Can you update the commit message to explain what OHOS is and provide a link to its homepage. That would be nice to have as a future reference.

Apr 6 2023, 5:32 AM · Restricted Project, Restricted Project, Restricted Project
kpdev42 updated the summary of D146804: [libcxx] Add OHOS support.
Apr 6 2023, 5:32 AM · Restricted Project, Restricted Project, Restricted Project
kpdev42 committed rG5348a2537765: [llvm-exegesis][AArch64] Add return statement at the end of the snippet… (authored by kpdev42).
[llvm-exegesis][AArch64] Add return statement at the end of the snippet…
Apr 6 2023, 4:58 AM · Restricted Project, Restricted Project
kpdev42 closed D147699: [llvm-exegesis][AArch64] Add return statement at the end of the snippet correctly.
Apr 6 2023, 4:58 AM · Restricted Project, Restricted Project
kpdev42 added inline comments to D147700: [llvm-exegesis] Allow setting dump file name.
Apr 6 2023, 4:54 AM · Restricted Project, Restricted Project
kpdev42 updated the summary of D147699: [llvm-exegesis][AArch64] Add return statement at the end of the snippet correctly.
Apr 6 2023, 4:37 AM · Restricted Project, Restricted Project
kpdev42 requested review of D147700: [llvm-exegesis] Allow setting dump file name.
Apr 6 2023, 4:36 AM · Restricted Project, Restricted Project
kpdev42 requested review of D147699: [llvm-exegesis][AArch64] Add return statement at the end of the snippet correctly.
Apr 6 2023, 4:31 AM · Restricted Project, Restricted Project
kpdev42 updated the diff for D143347: [lldb][DWARF] Infer no_unique_address attribute.

Address review comments

Apr 6 2023, 4:12 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
kpdev42 added a comment to D145224: [LLVM][OHOS] Use emulated TLS for OHOS platform.

@jrtc27 Patch was updated, please take a look

Apr 6 2023, 4:02 AM · Restricted Project, Restricted Project
kpdev42 updated the diff for D145224: [LLVM][OHOS] Use emulated TLS for OHOS platform.

Updated after D143708 landed

Apr 6 2023, 4:01 AM · Restricted Project, Restricted Project
kpdev42 committed rGb02e2ed7ac71: [llvm-exegesis] Make possible to execute snippets without perf counters (authored by kpdev42).
[llvm-exegesis] Make possible to execute snippets without perf counters
Apr 6 2023, 3:10 AM · Restricted Project, Restricted Project
kpdev42 closed D146301: [llvm-exegesis] Make possible to execute snippets without perf counters.
Apr 6 2023, 3:09 AM · Restricted Project, Restricted Project

Apr 5 2023

kpdev42 updated the diff for D146301: [llvm-exegesis] Make possible to execute snippets without perf counters.

Fix test

Apr 5 2023, 4:12 AM · Restricted Project, Restricted Project

Apr 3 2023

kpdev42 committed rG39fc67b8af70: [llvm-exegesis] Factor out DisassemblerHelper from the Analysis class (authored by kpdev42).
[llvm-exegesis] Factor out DisassemblerHelper from the Analysis class
Apr 3 2023, 11:19 PM · Restricted Project, Restricted Project
kpdev42 closed D147156: [llvm-exegesis] Factor out DisassemblerHelper from the Analysis class.
Apr 3 2023, 11:18 PM · Restricted Project, Restricted Project

Mar 30 2023

kpdev42 added a comment to D143347: [lldb][DWARF] Infer no_unique_address attribute.

ping

Mar 30 2023, 12:44 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project

Mar 29 2023

kpdev42 updated the summary of D147156: [llvm-exegesis] Factor out DisassemblerHelper from the Analysis class.
Mar 29 2023, 7:00 AM · Restricted Project, Restricted Project
kpdev42 requested review of D147156: [llvm-exegesis] Factor out DisassemblerHelper from the Analysis class.
Mar 29 2023, 6:58 AM · Restricted Project, Restricted Project
kpdev42 added a comment to D146303: [llvm-exegesis] Prevent llvm-exegesis from using unsupported opcodes.

In principle I like that, however this has implications on the size of the various llvm binaries. Can you please measure the increase in binary size for e.g. clang ?

Mar 29 2023, 6:51 AM · Restricted Project, Restricted Project
kpdev42 updated the diff for D146301: [llvm-exegesis] Make possible to execute snippets without perf counters.

Updated after D146302 and rebased

Mar 29 2023, 6:47 AM · Restricted Project, Restricted Project

Mar 27 2023

kpdev42 committed rG2d68a42f084a: [llvm-exegesis] Improve test flexibility by using available_features (authored by kpdev42).
[llvm-exegesis] Improve test flexibility by using available_features
Mar 27 2023, 4:44 AM · Restricted Project, Restricted Project
kpdev42 closed D146302: [llvm-exegesis] Improve test flexibility by using available_features.
Mar 27 2023, 4:43 AM · Restricted Project, Restricted Project

Mar 24 2023

kpdev42 requested review of D146804: [libcxx] Add OHOS support.
Mar 24 2023, 4:42 AM · Restricted Project, Restricted Project, Restricted Project