Skip to content

Commit

Permalink
[AMDGPU] Extend clang-format directive in SIDefines.h
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrAMD committed Dec 13, 2023
1 parent d36f72b commit 6265357
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions llvm/lib/Target/AMDGPU/SIDefines.h
Original file line number Diff line number Diff line change
Expand Up @@ -1136,8 +1136,6 @@ enum Register_Flag : uint8_t {
#define G_00B848_FWD_PROGRESS(x) (((x) >> 31) & 0x1)
#define C_00B848_FWD_PROGRESS 0x7FFFFFFF

// clang-format on

// Helpers for setting FLOAT_MODE
#define FP_ROUND_ROUND_TO_NEAREST 0
#define FP_ROUND_ROUND_TO_INF 1
Expand Down Expand Up @@ -1179,6 +1177,9 @@ enum Register_Flag : uint8_t {

#define R_SPILLED_SGPRS 0x4
#define R_SPILLED_VGPRS 0x8

// clang-format on

} // End namespace llvm

#endif

0 comments on commit 6265357

Please sign in to comment.