Page MenuHomePhabricator

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

Feed Advanced Search

Dec 20 2022

Leonc added inline comments to D137954: Enable roundeven..
Dec 20 2022, 9:18 AM · Restricted Project, Restricted Project
Leonc committed rGdaa022ca5707: Enable roundeven. (authored by Leonc).
Enable roundeven.
Dec 20 2022, 7:40 AM · Restricted Project, Restricted Project
Leonc closed D137954: Enable roundeven..
Dec 20 2022, 7:40 AM · Restricted Project, Restricted Project
Leonc added inline comments to D137954: Enable roundeven..
Dec 20 2022, 6:26 AM · Restricted Project, Restricted Project
Leonc updated the diff for D137954: Enable roundeven..
  • Address comments.
Dec 20 2022, 6:24 AM · Restricted Project, Restricted Project
Leonc added inline comments to D137954: Enable roundeven..
Dec 20 2022, 6:05 AM · Restricted Project, Restricted Project
Leonc added inline comments to D137954: Enable roundeven..
Dec 20 2022, 6:01 AM · Restricted Project, Restricted Project
Leonc updated the diff for D137954: Enable roundeven..
  • Clang formatting.
Dec 20 2022, 6:00 AM · Restricted Project, Restricted Project

Dec 19 2022

Leonc updated the diff for D137954: Enable roundeven..
  • Address comments.
Dec 19 2022, 6:02 PM · Restricted Project, Restricted Project
Leonc added inline comments to D137954: Enable roundeven..
Dec 19 2022, 5:59 PM · Restricted Project, Restricted Project
Leonc updated the diff for D137954: Enable roundeven..
  • Address comments.
Dec 19 2022, 5:50 PM · Restricted Project, Restricted Project
Leonc added inline comments to D137954: Enable roundeven..
Dec 19 2022, 5:49 PM · Restricted Project, Restricted Project
Leonc updated the diff for D137954: Enable roundeven..
  • Revert vector code in favour of auto-vectorisation.
Dec 19 2022, 5:44 PM · Restricted Project, Restricted Project
Leonc updated the diff for D137954: Enable roundeven..
  • Add support for vector types.
Dec 19 2022, 5:07 PM · Restricted Project, Restricted Project

Dec 14 2022

Leonc added a comment to D137954: Enable roundeven..

FRINT only handles f64 so I'm updating the patch to handle the remaining scalar types.

Dec 14 2022, 4:20 AM · Restricted Project, Restricted Project
Leonc updated the diff for D137954: Enable roundeven..
  • Change rounding method to match GlobalISel.
Dec 14 2022, 3:39 AM · Restricted Project, Restricted Project

Dec 6 2022

Leonc added inline comments to D137954: Enable roundeven..
Dec 6 2022, 8:07 PM · Restricted Project, Restricted Project

Dec 1 2022

Leonc added a comment to D139000: [AMDGPU] Remove function with incompatible features.

Is there a way to detect when new feature attributes are added and raise a warning if this pass hasn't been updated?

Dec 1 2022, 7:39 PM · Restricted Project, Restricted Project

Nov 19 2022

Leonc added inline comments to D137954: Enable roundeven..
Nov 19 2022, 1:16 AM · Restricted Project, Restricted Project

Nov 18 2022

Leonc added a comment to D137954: Enable roundeven..

The warning is from clang-format. It wants to make 86 changes over hundreds of lines unrelated to this patch.

No, it only wants correct formatting for the lines you actually changed in your patch. If you "install" git clang-format, by making sure llvm-project/clang/tools/clang-format/git-clang-format is on your $PATH, then you can run: git clang-format @^. This is what the Harbormaster build does.

Nov 18 2022, 4:41 AM · Restricted Project, Restricted Project
Leonc updated the diff for D137954: Enable roundeven..
  • Changes required by clang-format.
Nov 18 2022, 4:40 AM · Restricted Project, Restricted Project

Nov 17 2022

Leonc added a comment to D137954: Enable roundeven..

The warning is from clang-format. It wants to make 86 changes over hundreds of lines unrelated to this patch.

Nov 17 2022, 6:04 AM · Restricted Project, Restricted Project
Leonc updated the diff for D137954: Enable roundeven..
  • Rebase.
Nov 17 2022, 4:48 AM · Restricted Project, Restricted Project
Leonc added a comment to D137954: Enable roundeven..

Couldn't reproduce pre-merge warning locally.
All tests have passed successfully.

Nov 17 2022, 4:45 AM · Restricted Project, Restricted Project

Nov 15 2022

Leonc updated the diff for D137954: Enable roundeven..
  • Address comments.
Nov 15 2022, 1:47 AM · Restricted Project, Restricted Project
Leonc updated the diff for D137954: Enable roundeven..
  • Move test file.
Nov 15 2022, 1:45 AM · Restricted Project, Restricted Project
Leonc added a comment to D137954: Enable roundeven..

@arsenm how's this? The tests are unified, but it seems a little misleading to have ISel and GlobalISel tests in the same directory.

Nov 15 2022, 1:33 AM · Restricted Project, Restricted Project
Leonc updated the diff for D137954: Enable roundeven..
  • Address comments.
Nov 15 2022, 1:29 AM · Restricted Project, Restricted Project

Nov 14 2022

Leonc added inline comments to D137954: Enable roundeven..
Nov 14 2022, 7:55 AM · Restricted Project, Restricted Project
Leonc added a comment to D137954: Enable roundeven..

Can you also take care of globalisel here?

Nov 14 2022, 7:53 AM · Restricted Project, Restricted Project
Leonc added reviewers for D137954: Enable roundeven.: arsenm, kerbowa, foad, bcahoon.
Nov 14 2022, 7:48 AM · Restricted Project, Restricted Project
Leonc requested review of D137954: Enable roundeven..
Nov 14 2022, 7:45 AM · Restricted Project, Restricted Project

Oct 13 2022

Leonc updated the diff for D135124: Add f16 nearbyint support..
  • Add FileCheck directives.
Oct 13 2022, 10:23 AM · Restricted Project, Restricted Project

Oct 12 2022

Leonc updated the diff for D135788: Precommit for SWDEV-353076: Add check directives to existing tests..
  • Revert GCN prefixes.
Oct 12 2022, 10:04 AM · Restricted Project, Restricted Project
Leonc updated the diff for D135788: Precommit for SWDEV-353076: Add check directives to existing tests..
  • Add GCN prefix.
Oct 12 2022, 9:58 AM · Restricted Project, Restricted Project
Leonc added inline comments to D135788: Precommit for SWDEV-353076: Add check directives to existing tests..
Oct 12 2022, 9:39 AM · Restricted Project, Restricted Project
Leonc added reviewers for D135788: Precommit for SWDEV-353076: Add check directives to existing tests.: bcahoon, arsenm, kerbowa, foad.
Oct 12 2022, 9:33 AM · Restricted Project, Restricted Project
Leonc requested review of D135788: Precommit for SWDEV-353076: Add check directives to existing tests..
Oct 12 2022, 9:31 AM · Restricted Project, Restricted Project

Oct 11 2022

Leonc added inline comments to D135609: [AMDGPU] Fix True16 patterns for cmp on GFX11.
Oct 11 2022, 7:27 AM · Restricted Project, Restricted Project
Leonc added inline comments to D135609: [AMDGPU] Fix True16 patterns for cmp on GFX11.
Oct 11 2022, 7:15 AM · Restricted Project, Restricted Project

Oct 3 2022

Leonc added inline comments to D135124: Add f16 nearbyint support..
Oct 3 2022, 9:14 PM · Restricted Project, Restricted Project
Leonc added a comment to D135124: Add f16 nearbyint support..

Comments on SWDEV-353076 suggested there was a related issue with roundeven but I wasn't able to find any.

Oct 3 2022, 8:37 PM · Restricted Project, Restricted Project
Leonc added inline comments to D135124: Add f16 nearbyint support..
Oct 3 2022, 8:34 PM · Restricted Project, Restricted Project
Leonc added reviewers for D135124: Add f16 nearbyint support.: bcahoon, arsenm, kerbowa, foad.
Oct 3 2022, 8:31 PM · Restricted Project, Restricted Project
Leonc requested review of D135124: Add f16 nearbyint support..
Oct 3 2022, 8:29 PM · Restricted Project, Restricted Project

Aug 17 2022

Leonc abandoned D131951: Use ISA versions instead of attributes to determine intrinsic legality..

Abandoning in favour of updating device-libs.

Aug 17 2022, 6:47 AM · Restricted Project, Restricted Project

Aug 16 2022

Leonc added reviewers for D131951: Use ISA versions instead of attributes to determine intrinsic legality.: arsenm, bcahoon, foad, jvesely, nhaehnle, hiraditya, kerbowa, kosarev.
Aug 16 2022, 2:35 AM · Restricted Project, Restricted Project
Leonc requested review of D131951: Use ISA versions instead of attributes to determine intrinsic legality..
Aug 16 2022, 2:28 AM · Restricted Project, Restricted Project

Aug 5 2022

Leonc added a comment to D123693: Transform illegal intrinsics to V_ILLEGAL.

We also probably should clean up the the encoding to rely on subtarget features instead of the generation check

Aug 5 2022, 1:27 PM · Restricted Project, Restricted Project
Leonc added inline comments to D123693: Transform illegal intrinsics to V_ILLEGAL.
Aug 5 2022, 1:12 PM · Restricted Project, Restricted Project
Leonc updated the diff for D123693: Transform illegal intrinsics to V_ILLEGAL.
  • Remove debug code.
Aug 5 2022, 1:11 PM · Restricted Project, Restricted Project
Leonc updated the diff for D123693: Transform illegal intrinsics to V_ILLEGAL.
  • Address comments.
Aug 5 2022, 10:25 AM · Restricted Project, Restricted Project
Leonc added inline comments to D123693: Transform illegal intrinsics to V_ILLEGAL.
Aug 5 2022, 7:07 AM · Restricted Project, Restricted Project
Leonc added inline comments to D123693: Transform illegal intrinsics to V_ILLEGAL.
Aug 5 2022, 6:58 AM · Restricted Project, Restricted Project
Leonc updated the diff for D123693: Transform illegal intrinsics to V_ILLEGAL.
  • Address comments.
Aug 5 2022, 6:26 AM · Restricted Project, Restricted Project

Aug 4 2022

Leonc updated the diff for D123693: Transform illegal intrinsics to V_ILLEGAL.
  • Address comments and fix tests.
Aug 4 2022, 8:54 AM · Restricted Project, Restricted Project

Aug 3 2022

Leonc added inline comments to D123693: Transform illegal intrinsics to V_ILLEGAL.
Aug 3 2022, 11:13 AM · Restricted Project, Restricted Project
Leonc updated the diff for D123693: Transform illegal intrinsics to V_ILLEGAL.
  • Address comments.
Aug 3 2022, 11:08 AM · Restricted Project, Restricted Project
Leonc added inline comments to D123693: Transform illegal intrinsics to V_ILLEGAL.
Aug 3 2022, 7:12 AM · Restricted Project, Restricted Project
Leonc added inline comments to D123693: Transform illegal intrinsics to V_ILLEGAL.
Aug 3 2022, 2:19 AM · Restricted Project, Restricted Project
Leonc updated the diff for D123693: Transform illegal intrinsics to V_ILLEGAL.
  • Add v_illegal assembly tests.
  • Update instruction definitions.
Aug 3 2022, 2:15 AM · Restricted Project, Restricted Project

Aug 1 2022

Leonc updated the diff for D123693: Transform illegal intrinsics to V_ILLEGAL.
  • Fix ternary args.
Aug 1 2022, 8:01 AM · Restricted Project, Restricted Project
Leonc added inline comments to D123693: Transform illegal intrinsics to V_ILLEGAL.
Aug 1 2022, 7:56 AM · Restricted Project, Restricted Project
Leonc added inline comments to D123693: Transform illegal intrinsics to V_ILLEGAL.
Aug 1 2022, 7:43 AM · Restricted Project, Restricted Project
Leonc updated the diff for D123693: Transform illegal intrinsics to V_ILLEGAL.
  • Fix indentation, braces, and file mode.
Aug 1 2022, 7:42 AM · Restricted Project, Restricted Project
Leonc updated the diff for D123693: Transform illegal intrinsics to V_ILLEGAL.
  • Add different versions of V_ILLEGAL for different targets.
Aug 1 2022, 5:28 AM · Restricted Project, Restricted Project

Jul 29 2022

Leonc updated the diff for D123693: Transform illegal intrinsics to V_ILLEGAL.
  • Handling for atomics plus tests.
Jul 29 2022, 9:20 AM · Restricted Project, Restricted Project

Jul 28 2022

Leonc added inline comments to D123693: Transform illegal intrinsics to V_ILLEGAL.
Jul 28 2022, 4:34 AM · Restricted Project, Restricted Project
Leonc updated the diff for D123693: Transform illegal intrinsics to V_ILLEGAL.
  • Address comments.
Jul 28 2022, 4:33 AM · Restricted Project, Restricted Project

Jul 27 2022

Leonc updated the diff for D123693: Transform illegal intrinsics to V_ILLEGAL.
  • Revert changes to return values.
  • Refactor code.
  • Address comments.
Jul 27 2022, 9:31 AM · Restricted Project, Restricted Project

Jul 24 2022

Leonc updated the diff for D123693: Transform illegal intrinsics to V_ILLEGAL.
  • Fix existing test failures.
Jul 24 2022, 7:21 PM · Restricted Project, Restricted Project

Jun 14 2022

Leonc added a comment to D123693: Transform illegal intrinsics to V_ILLEGAL.

The issue is our libraries contain code for all targets. We rely on dead code elimination to remove illegal intrinsics, but that doesn't happen on -O0.

Why can't you put the code for different subtargets in different functions, each with an appropriate "target-cpu"= attribute?

That's what I would do. I think there's some resistance to it though, and it would probably require a lot more work.

Well I am resistant to selecting intrinsics on subtargets that don't support them :)

How far are you planning to go with this approach? Do you expect to extend it to all AMDGPU intrinsics?

Jun 14 2022, 2:15 AM · Restricted Project, Restricted Project
Leonc added a comment to D123693: Transform illegal intrinsics to V_ILLEGAL.

The issue is our libraries contain code for all targets. We rely on dead code elimination to remove illegal intrinsics, but that doesn't happen on -O0.

Why can't you put the code for different subtargets in different functions, each with an appropriate "target-cpu"= attribute?

Jun 14 2022, 1:31 AM · Restricted Project, Restricted Project
Leonc added a comment to D123693: Transform illegal intrinsics to V_ILLEGAL.

Where's the rationale? Surely unsupported intrinsics should fail to select, and perhaps be diagnosed even earlier?

Jun 14 2022, 1:15 AM · Restricted Project, Restricted Project

Jun 13 2022

Leonc added inline comments to D123693: Transform illegal intrinsics to V_ILLEGAL.
Jun 13 2022, 9:23 PM · Restricted Project, Restricted Project

Jun 10 2022

Leonc added a comment to D123693: Transform illegal intrinsics to V_ILLEGAL.

Next steps:

Jun 10 2022, 10:34 PM · Restricted Project, Restricted Project
Leonc retitled D123693: Transform illegal intrinsics to V_ILLEGAL from Transform tex2D to legal intrinsic on gfx90a. to Transform illegal intrinsics to V_ILLEGAL.
Jun 10 2022, 10:24 PM · Restricted Project, Restricted Project
Leonc updated the diff for D123693: Transform illegal intrinsics to V_ILLEGAL.
  • Revert rebase error.
Jun 10 2022, 10:13 PM · Restricted Project, Restricted Project
Leonc updated the diff for D123693: Transform illegal intrinsics to V_ILLEGAL.
  • Updates toward catching and handling all illegal intrinsics.
Jun 10 2022, 10:08 PM · Restricted Project, Restricted Project

Apr 13 2022

Leonc updated the summary of D123693: Transform illegal intrinsics to V_ILLEGAL.
Apr 13 2022, 10:41 AM · Restricted Project, Restricted Project
Leonc requested review of D123693: Transform illegal intrinsics to V_ILLEGAL.
Apr 13 2022, 10:39 AM · Restricted Project, Restricted Project