Skip to content

Commit

Permalink
[NFC] Cleanup and sort hlsl_intrinsics.h (#72414)
Browse files Browse the repository at this point in the history
This is just a simple cleanup of hlsl_intrinsics.h. I've broken this
into two commits to make it easier to follow during review. The first
commit replaces the `__attribute__` annotations with preprocessor macros
to make it easier to read the function declarations. The second commit
sorts the function declarations.

Function declarations are sorted by function name alphabetically, then
grouped by base element type. The declarations within each group are
sorted in increasing order by number of elements, and the groups
themselves are sorted by increasing element size. For elements of the
same size they are then sorted by signed integers, then unsigned
integers then floating point.
  • Loading branch information
llvm-beanz committed Nov 27, 2023
1 parent a8837b4 commit 0f18984
Showing 1 changed file with 396 additions and 339 deletions.

0 comments on commit 0f18984

Please sign in to comment.