Skip to content

Commit

Permalink
More cleanup in IREEGPUAttrs. (#19161)
Browse files Browse the repository at this point in the history
* Remove nearly 1,000 lines of code from `IREEGPUAttrs.cpp`, plus some
methods out of `IREEGPUAttrs.td`. The bulk of that is code that was only
used in a single place and didn't need to be in this central location,
gets moved to its single user. A few helper functions were completely
dead code, and a few additional simplifications.
* Write up-to-date comments for core data structures, particularly the
all-important `SingleSubgroupLayout`.
* Within `IREEGPUAttrs.cpp`, group at the top of the file the code that
encodes the raw information about MMA intrinsics, i.e. the code that
needs to be updated when a new intrinsic is supported.

---------

Signed-off-by: Benoit Jacob <[email protected]>
  • Loading branch information
bjacob authored Nov 15, 2024
1 parent e3826d5 commit 60cf4ab
Show file tree
Hide file tree
Showing 6 changed files with 810 additions and 864 deletions.
Loading

0 comments on commit 60cf4ab

Please sign in to comment.