Page MenuHomePhabricator

jsilvanus (Jannik Silvanus)
User

Projects

User does not belong to any projects.

User Details

User Since
Oct 2 2021, 3:01 PM (76 w, 1 d)

Working on the AMDGPU backend at AMD.

Recent Activity

Feb 10 2023

jsilvanus accepted D142621: [Couroutines] Modify CoroFrame materializable into a callback.

Thanks!

Feb 10 2023, 5:12 AM · Restricted Project, Restricted Project
jsilvanus added inline comments to D142621: [Couroutines] Modify CoroFrame materializable into a callback.
Feb 10 2023, 4:57 AM · Restricted Project, Restricted Project
jsilvanus added a comment to D142621: [Couroutines] Modify CoroFrame materializable into a callback.

Thanks for the unit test!

Feb 10 2023, 3:55 AM · Restricted Project, Restricted Project

Jan 31 2023

jsilvanus added inline comments to D142620: [Coroutines] Improve rematerialization stage.
Jan 31 2023, 12:41 AM · Restricted Project, Restricted Project

Jan 30 2023

jsilvanus added a comment to D142452: update_test_checks.py: match IR block labels.

The change looks reasonable to me.

Jan 30 2023, 4:43 AM · Restricted Project, Restricted Project
jsilvanus added a comment to D142699: [AsmParser] Avoid instantiating LLVMContext if not needed. NFC.

The local change itself looks now good to me, but @arsenm may have general concerns with the approach here, so please address his comment first.

Jan 30 2023, 1:31 AM · Restricted Project, Restricted Project
jsilvanus accepted D142621: [Couroutines] Modify CoroFrame materializable into a callback.

LGTM, one minor inline comment.

Jan 30 2023, 1:11 AM · Restricted Project, Restricted Project
jsilvanus accepted D142620: [Coroutines] Improve rematerialization stage.
Jan 30 2023, 12:51 AM · Restricted Project, Restricted Project
jsilvanus added a comment to D142620: [Coroutines] Improve rematerialization stage.

LGTM -- one inline comment on style.

Jan 30 2023, 12:51 AM · Restricted Project, Restricted Project

Jan 27 2023

jsilvanus added inline comments to D142473: [UTC] Add --version argument.
Jan 27 2023, 6:21 AM · Restricted Project, Restricted Project, Restricted Project
jsilvanus added inline comments to D142473: [UTC] Add --version argument.
Jan 27 2023, 6:06 AM · Restricted Project, Restricted Project, Restricted Project
jsilvanus added inline comments to D142699: [AsmParser] Avoid instantiating LLVMContext if not needed. NFC.
Jan 27 2023, 2:44 AM · Restricted Project, Restricted Project

Jan 26 2023

jsilvanus committed rGc0f34c8ce0e5: [Coroutine] Fix typos in comment (authored by jsilvanus).
[Coroutine] Fix typos in comment
Jan 26 2023, 3:42 AM · Restricted Project, Restricted Project

Jan 24 2023

jsilvanus added a comment to D142473: [UTC] Add --version argument.

I would not be so worried about the complexity of having to maintain multiple version formats -- we can think of the version flag as setting defaults for command-line options that alter the test format.
We already have such options (e.g. mentioned --function-signature), so this is not new in principle, it just provides a convenient means to set these.

Jan 24 2023, 8:38 AM · Restricted Project, Restricted Project, Restricted Project

Jan 23 2023

jsilvanus committed rGeb197e3ea670: [Transforms] Add lit test for instcombine on load into vector of overaligned… (authored by jsilvanus).
[Transforms] Add lit test for instcombine on load into vector of overaligned…
Jan 23 2023, 4:26 AM · Restricted Project, Restricted Project
jsilvanus committed rGa4753f5dc0a9: [IR] Avoid creation of GEPs into vectors (in one place) (authored by jsilvanus).
[IR] Avoid creation of GEPs into vectors (in one place)
Jan 23 2023, 4:26 AM · Restricted Project, Restricted Project
jsilvanus closed D142146: [IR] Avoid creation of GEPs into vectors (in one place).
Jan 23 2023, 4:26 AM · Restricted Project, Restricted Project
jsilvanus updated the diff for D142146: [IR] Avoid creation of GEPs into vectors (in one place).
Update changed testcases.
Jan 23 2023, 2:48 AM · Restricted Project, Restricted Project
jsilvanus committed rG4dbf3f2e8e72: [LangRef] Require i8s to be naturally aligned (authored by jsilvanus).
[LangRef] Require i8s to be naturally aligned
Jan 23 2023, 12:36 AM · Restricted Project, Restricted Project
jsilvanus closed D142211: [LangRef] Require i8s to be naturally aligned.
Jan 23 2023, 12:36 AM · Restricted Project, Restricted Project
jsilvanus added a comment to D142211: [LangRef] Require i8s to be naturally aligned.

Thanks for the review, I've updated the patch accordingly.

Jan 23 2023, 12:34 AM · Restricted Project, Restricted Project
jsilvanus updated the diff for D142211: [LangRef] Require i8s to be naturally aligned.

Restrict alignment check to integer types as suggested by review.

Jan 23 2023, 12:32 AM · Restricted Project, Restricted Project

Jan 20 2023

jsilvanus added a reviewer for D142211: [LangRef] Require i8s to be naturally aligned: lebedev.ri.
Jan 20 2023, 6:58 AM · Restricted Project, Restricted Project
jsilvanus requested review of D142211: [LangRef] Require i8s to be naturally aligned.
Jan 20 2023, 6:56 AM · Restricted Project, Restricted Project
jsilvanus committed rG3e4a6f57412c: [DirectX] Fix i8 alignment in datalayout of lit test (authored by jsilvanus).
[DirectX] Fix i8 alignment in datalayout of lit test
Jan 20 2023, 6:53 AM · Restricted Project, Restricted Project
jsilvanus committed rG986029c1640a: [Transforms] Fix i8 alignment in datalayout of lit test (authored by jsilvanus).
[Transforms] Fix i8 alignment in datalayout of lit test
Jan 20 2023, 6:53 AM · Restricted Project, Restricted Project
jsilvanus committed rG76677173ec81: [X86] Fix i8 alignment in datalayout of lit test (authored by jsilvanus).
[X86] Fix i8 alignment in datalayout of lit test
Jan 20 2023, 6:53 AM · Restricted Project, Restricted Project
jsilvanus committed rGf287c1d3153e: [polly] Fix i8 alignment in datalayout of lit test (authored by jsilvanus).
[polly] Fix i8 alignment in datalayout of lit test
Jan 20 2023, 6:53 AM · Restricted Project
jsilvanus added a comment to D142146: [IR] Avoid creation of GEPs into vectors (in one place).

Thanks for the review.
Your example of accessing a known pointer in a vector is interesting.

Jan 20 2023, 3:12 AM · Restricted Project, Restricted Project

Jan 19 2023

jsilvanus added a comment to D142146: [IR] Avoid creation of GEPs into vectors (in one place).

Thanks for the suggestion, that is much cleaner indeed. I updated the patch accordingly.

Jan 19 2023, 12:25 PM · Restricted Project, Restricted Project
jsilvanus updated the diff for D142146: [IR] Avoid creation of GEPs into vectors (in one place).

Review feedback: Simplify testcase by passing DL to opt

Jan 19 2023, 12:17 PM · Restricted Project, Restricted Project
jsilvanus added a reviewer for D142146: [IR] Avoid creation of GEPs into vectors (in one place): sebastian-ne.
Jan 19 2023, 11:05 AM · Restricted Project, Restricted Project
jsilvanus requested review of D142146: [IR] Avoid creation of GEPs into vectors (in one place).
Jan 19 2023, 11:04 AM · Restricted Project, Restricted Project
jsilvanus abandoned D139034: [IR] GEP: Fix byte-offsets in vectors of overaligned types.

Abandoning this change in favor of avoiding GEPs into vectors instead of fixing their offsets.

Jan 19 2023, 4:40 AM · Restricted Project, Restricted Project

Jan 13 2023

jsilvanus abandoned D138708: [SROA] Assert the AllocSize of i8 to be 1.

Abandoning, we will require i8 to be naturally aligned in the datalayout as discussed on discourse. Sorry for leaving it open for so long.

Jan 13 2023, 12:11 AM · Restricted Project, Restricted Project
jsilvanus accepted D127728: [BitcodeReader] Allow reading pointer types from old IR.
Jan 13 2023, 12:08 AM · Restricted Project, Restricted Project

Jan 12 2023

jsilvanus added a comment to D127728: [BitcodeReader] Allow reading pointer types from old IR.

Thanks for the refactoring. One more thought inline.

Jan 12 2023, 10:03 AM · Restricted Project, Restricted Project
jsilvanus committed rGdf1a74ac3c64: [IR] Support importing modules with invalid data layouts. (authored by jsilvanus).
[IR] Support importing modules with invalid data layouts.
Jan 12 2023, 1:13 AM · Restricted Project, Restricted Project
jsilvanus closed D140985: [IR] Support importing modules with invalid data layouts..
Jan 12 2023, 1:12 AM · Restricted Project, Restricted Project

Jan 10 2023

jsilvanus added a comment to D140985: [IR] Support importing modules with invalid data layouts..

Thanks for reviewing @nikic. Comments inline.

Jan 10 2023, 9:49 AM · Restricted Project, Restricted Project
jsilvanus updated the diff for D140985: [IR] Support importing modules with invalid data layouts..

Address review feedback: Handle invalid data layouts gracefully

Jan 10 2023, 9:48 AM · Restricted Project, Restricted Project

Jan 9 2023

jsilvanus added a comment to D127728: [BitcodeReader] Allow reading pointer types from old IR.

High-level comment regarding how to pass callbacks to parser functions: We have quite a few different parser routines, both for textual IR and bitcode, and special modes (e.g. lazy loaders).
This leads to many places where we would add essentially the same arguments, often with default values. Some functions miss these (e.g. getLazyBitcodeModule), because nobody bothered so far to add callback(s) for them.

Jan 9 2023, 9:59 AM · Restricted Project, Restricted Project
jsilvanus updated the diff for D140985: [IR] Support importing modules with invalid data layouts..
Address review feedback
Jan 9 2023, 5:10 AM · Restricted Project, Restricted Project

Jan 5 2023

jsilvanus added a comment to D140985: [IR] Support importing modules with invalid data layouts..

Is DataLayout compatibility still determined with string equality and not semantic equality?

Jan 5 2023, 7:17 AM · Restricted Project, Restricted Project

Jan 4 2023

jsilvanus added a comment to D140985: [IR] Support importing modules with invalid data layouts..

For context, this prepares requiring naturally aligned i8 as discussed in https://discourse.llvm.org/t/status-of-overaligned-i8/66913/

Jan 4 2023, 7:00 AM · Restricted Project, Restricted Project
jsilvanus updated the diff for D140985: [IR] Support importing modules with invalid data layouts..

Add lit test case.

Jan 4 2023, 6:53 AM · Restricted Project, Restricted Project
jsilvanus requested review of D140985: [IR] Support importing modules with invalid data layouts..
Jan 4 2023, 6:39 AM · Restricted Project, Restricted Project

Dec 19 2022

jsilvanus accepted D139623: [llvm][cmake] Fix add_subdirectory build in multi-config.

Ok, fine with me.

Dec 19 2022, 12:31 PM · Restricted Project, Restricted Project
jsilvanus added a comment to D139623: [llvm][cmake] Fix add_subdirectory build in multi-config.

I still get the ${CONFIGURATION} directory even with this patch, running:

Dec 19 2022, 5:17 AM · Restricted Project, Restricted Project
jsilvanus added a comment to D139973: [llvm] Make llvm::Any similar to std::any.
  • std::any uses RTTI, so it is unlikely to ever replace llvm::Any.
Dec 19 2022, 3:09 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
jsilvanus accepted D139973: [llvm] Make llvm::Any similar to std::any.

LGTM, but let's wait for the other reviewers.

Dec 19 2022, 1:57 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project

Dec 9 2022

jsilvanus added a comment to D133379: [DL] Make vector ABI align bound by element align.

How should this behave on overaligned element types? For example, with a i16:32 data layout (as in the old DXIL data layout),
the second element in <3 x i16> will not be 32-bit aligned, even if the vector is.

16-bit types aren't supported with the old data layout at all. If you enable 16-bit types when compiling HLSL you get the new data layout which aligns 16-bit types to 16-bit boundaries. The only exception to that is some oddities around how buffers are packed, but that doesn't impact the data layout.

Dec 9 2022, 2:53 AM · Restricted Project, Restricted Project

Dec 6 2022

jsilvanus added a comment to D139034: [IR] GEP: Fix byte-offsets in vectors of overaligned types.

Thanks for the review.
Your idea of adding a gep_offset_iterator seems plausible. I'll look into that.

Dec 6 2022, 1:57 AM · Restricted Project, Restricted Project

Dec 2 2022

jsilvanus added reviewers for D139034: [IR] GEP: Fix byte-offsets in vectors of overaligned types: nikic, efriedma.

Adding reviewers, based on past changes to GetElementPtrTypeIterator.h.
Please feel free to reject or suggest other reviewers that might have a better background.

Dec 2 2022, 4:31 AM · Restricted Project, Restricted Project

Dec 1 2022

jsilvanus added a comment to D133379: [DL] Make vector ABI align bound by element align.

This alters the vector ABI alignment so that vector elements are always aligned appropriately for their type.

Dec 1 2022, 2:07 AM · Restricted Project, Restricted Project

Nov 30 2022

jsilvanus added a comment to D138708: [SROA] Assert the AllocSize of i8 to be 1.

This is the patch for the mentioned issue of GEPs into vectors of overaligned elements: https://reviews.llvm.org/D139034

Nov 30 2022, 10:51 AM · Restricted Project, Restricted Project
jsilvanus requested review of D139034: [IR] GEP: Fix byte-offsets in vectors of overaligned types.
Nov 30 2022, 10:20 AM · Restricted Project, Restricted Project
jsilvanus added a comment to D138708: [SROA] Assert the AllocSize of i8 to be 1.

I've started a discourse discussion on the topic: https://discourse.llvm.org/t/status-of-overaligned-i8/66913

Nov 30 2022, 3:56 AM · Restricted Project, Restricted Project

Nov 25 2022

jsilvanus added a comment to D138708: [SROA] Assert the AllocSize of i8 to be 1.

I don't need support for overaligned i8s, it is fine for me to have LLVM require natural alignment on i8.

Nov 25 2022, 12:34 PM · Restricted Project, Restricted Project
jsilvanus updated the diff for D138708: [SROA] Assert the AllocSize of i8 to be 1.

Yes, you are right, I miscalculated by one bit :) Updated the test accordingly.

Nov 25 2022, 8:56 AM · Restricted Project, Restricted Project
jsilvanus updated the diff for D138708: [SROA] Assert the AllocSize of i8 to be 1.

Fix constant in test case.

Nov 25 2022, 8:27 AM · Restricted Project, Restricted Project
jsilvanus updated the diff for D138708: [SROA] Assert the AllocSize of i8 to be 1.

Add test case that triggers the assert.

Nov 25 2022, 8:22 AM · Restricted Project, Restricted Project
jsilvanus added a comment to D138711: AMDGPU: Remove BufferPseudoSourceValue.

I couldn't spot any nontrivial difference in generated code -- so the new namespace-based info is equally useful (or useless?) for AA?

Nov 25 2022, 7:25 AM · Restricted Project, Restricted Project
jsilvanus added a comment to D138708: [SROA] Assert the AllocSize of i8 to be 1.

In these places, we try to obtain a pointer based on a base pointer and a byte offset, and do so using a GEP on i8, using the offset as index.
This will fail if the AllocSize of i8 is not 1. The added assertions detect such cases instead of generating wrong code.

Nov 25 2022, 6:55 AM · Restricted Project, Restricted Project
jsilvanus added a comment to D138708: [SROA] Assert the AllocSize of i8 to be 1.

Are you interested in a lit test checking that the assertion fires? Are we testing individual asserts this way?

Nov 25 2022, 6:21 AM · Restricted Project, Restricted Project
jsilvanus added a reviewer for D138708: [SROA] Assert the AllocSize of i8 to be 1: sebastian-ne.
Nov 25 2022, 5:57 AM · Restricted Project, Restricted Project
jsilvanus requested review of D138708: [SROA] Assert the AllocSize of i8 to be 1.
Nov 25 2022, 5:56 AM · Restricted Project, Restricted Project

Nov 14 2022

jsilvanus added a comment to D137866: [Coroutines] Do not add allocas for retcon coroutines.

Not your code, but:

Nov 14 2022, 1:26 AM · Restricted Project, Restricted Project

Nov 9 2022

jsilvanus committed rGe044796132ab: [llvm-diff] Fix false-positive diffs on forward-referencing phi nodes (authored by jsilvanus).
[llvm-diff] Fix false-positive diffs on forward-referencing phi nodes
Nov 9 2022, 11:42 AM · Restricted Project, Restricted Project
jsilvanus closed D137318: [llvm-diff] Fix false-positive diffs on forward-referencing phi nodes.
Nov 9 2022, 11:41 AM · Restricted Project, Restricted Project

Nov 4 2022

jsilvanus added a comment to D137318: [llvm-diff] Fix false-positive diffs on forward-referencing phi nodes.

Thanks for your review, I updated the patch to address it.

Nov 4 2022, 1:17 AM · Restricted Project, Restricted Project
jsilvanus updated the diff for D137318: [llvm-diff] Fix false-positive diffs on forward-referencing phi nodes.

Remove reformatting of existing code.

Nov 4 2022, 1:13 AM · Restricted Project, Restricted Project
jsilvanus updated the diff for D137318: [llvm-diff] Fix false-positive diffs on forward-referencing phi nodes.

Address review feedback.

Nov 4 2022, 1:11 AM · Restricted Project, Restricted Project

Nov 3 2022

jsilvanus added a comment to D137318: [llvm-diff] Fix false-positive diffs on forward-referencing phi nodes.

Hi David, thanks for looking into this change!

Nov 3 2022, 11:23 AM · Restricted Project, Restricted Project
jsilvanus added reviewers for D137318: [llvm-diff] Fix false-positive diffs on forward-referencing phi nodes: void, dblaikie.
Nov 3 2022, 1:46 AM · Restricted Project, Restricted Project
jsilvanus requested review of D137318: [llvm-diff] Fix false-positive diffs on forward-referencing phi nodes.
Nov 3 2022, 1:45 AM · Restricted Project, Restricted Project
jsilvanus committed rG9135137718bb: [llvm-diff] Precommit: Add loop test case with forward reference (authored by jsilvanus).
[llvm-diff] Precommit: Add loop test case with forward reference
Nov 3 2022, 1:24 AM · Restricted Project, Restricted Project
jsilvanus closed D137262: [llvm-diff] Precommit: Add loop test case with forward reference.
Nov 3 2022, 1:24 AM · Restricted Project, Restricted Project
jsilvanus added a comment to D137262: [llvm-diff] Precommit: Add loop test case with forward reference.

Thanks for reviewing.

Nov 3 2022, 1:22 AM · Restricted Project, Restricted Project

Nov 2 2022

jsilvanus updated the diff for D137262: [llvm-diff] Precommit: Add loop test case with forward reference.

Fix branch target.

Nov 2 2022, 9:20 AM · Restricted Project, Restricted Project
jsilvanus added reviewers for D137262: [llvm-diff] Precommit: Add loop test case with forward reference: void, dblaikie.
Nov 2 2022, 8:54 AM · Restricted Project, Restricted Project
jsilvanus updated the summary of D137262: [llvm-diff] Precommit: Add loop test case with forward reference.
Nov 2 2022, 8:53 AM · Restricted Project, Restricted Project
jsilvanus requested review of D137262: [llvm-diff] Precommit: Add loop test case with forward reference.
Nov 2 2022, 8:51 AM · Restricted Project, Restricted Project

Oct 31 2022

jsilvanus added inline comments to D136432: [AMDGPU] Combine BFI instructions..
Oct 31 2022, 1:06 AM · Restricted Project, Restricted Project

Oct 28 2022

jsilvanus added a comment to D136432: [AMDGPU] Combine BFI instructions..
Oct 28 2022, 9:05 AM · Restricted Project, Restricted Project

Oct 26 2022

jsilvanus accepted D136329: update_test_checks.py: allow use with custom tools.

LGTM, thanks!

Oct 26 2022, 3:19 AM · Restricted Project, Restricted Project

Oct 24 2022

jsilvanus added a comment to D136329: update_test_checks.py: allow use with custom tools.

Thanks, I also have a separate possible use case for this. Two minor inline comments.

Oct 24 2022, 6:55 AM · Restricted Project, Restricted Project
jsilvanus added a comment to D136432: [AMDGPU] Combine BFI instructions..

Thanks for the insights Nicolai and Jay!

Oct 24 2022, 4:40 AM · Restricted Project, Restricted Project

Oct 21 2022

jsilvanus added a comment to D136432: [AMDGPU] Combine BFI instructions..

One more thought on longer expressions: Nicolai already mentioned that we currently only match a particular expression structure.
I wondered whether the expression structure has any performance impact?

Oct 21 2022, 5:07 AM · Restricted Project, Restricted Project
jsilvanus added a comment to D136432: [AMDGPU] Combine BFI instructions..

I see, thanks!

Oct 21 2022, 2:43 AM · Restricted Project, Restricted Project
jsilvanus added a comment to D136432: [AMDGPU] Combine BFI instructions..

As such case cannot be combined into a BFI instruction, I guess it's relatively straight-forwardly translated into something like this:

Oct 21 2022, 2:31 AM · Restricted Project, Restricted Project
jsilvanus added a comment to D136432: [AMDGPU] Combine BFI instructions..

One inline comment on a comment :).

Oct 21 2022, 2:13 AM · Restricted Project, Restricted Project

Oct 18 2022

jsilvanus committed rG6608908b1b7f: [ADT] Extend EnumeratedArray (authored by jsilvanus).
[ADT] Extend EnumeratedArray
Oct 18 2022, 8:10 AM · Restricted Project, Restricted Project
jsilvanus closed D135594: [ADT] Extend EnumeratedArray.
Oct 18 2022, 8:09 AM · Restricted Project, Restricted Project
jsilvanus updated the diff for D135594: [ADT] Extend EnumeratedArray.

Implement review feedback:

Oct 18 2022, 5:57 AM · Restricted Project, Restricted Project
jsilvanus committed rG599f261c9258: [NFC][ADT] Clean up EnumeratedArray.h (authored by jsilvanus).
[NFC][ADT] Clean up EnumeratedArray.h
Oct 18 2022, 5:38 AM · Restricted Project, Restricted Project

Oct 17 2022

jsilvanus added a comment to D135594: [ADT] Extend EnumeratedArray.

Thanks for the review! I've implemented all your suggestions, except for the deduction guide, cf. the inline comment.

Oct 17 2022, 2:44 AM · Restricted Project, Restricted Project
jsilvanus updated the diff for D135594: [ADT] Extend EnumeratedArray.

Implement review feedback.

Oct 17 2022, 2:40 AM · Restricted Project, Restricted Project

Oct 13 2022

jsilvanus updated the summary of D135594: [ADT] Extend EnumeratedArray.
Oct 13 2022, 12:38 AM · Restricted Project, Restricted Project
jsilvanus added a reviewer for D135594: [ADT] Extend EnumeratedArray: dblaikie.
Oct 13 2022, 12:38 AM · Restricted Project, Restricted Project