Skip to content

Commit ebbe76c

Browse files
committed
clang-format
1 parent d785b08 commit ebbe76c

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

llvm/lib/Target/AMDGPU/SIInstrInfo.h

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -845,13 +845,10 @@ class SIInstrInfo final : public AMDGPUGenInstrInfo {
845845
// Most sopk treat the immediate as a signed 16-bit, however some
846846
// use it as unsigned.
847847
static bool sopkIsZext(unsigned Opcode) {
848-
return Opcode == AMDGPU::S_CMPK_EQ_U32 ||
849-
Opcode == AMDGPU::S_CMPK_LG_U32 ||
850-
Opcode == AMDGPU::S_CMPK_GT_U32 ||
851-
Opcode == AMDGPU::S_CMPK_GE_U32 ||
852-
Opcode == AMDGPU::S_CMPK_LT_U32 ||
853-
Opcode == AMDGPU::S_CMPK_LE_U32 ||
854-
Opcode == AMDGPU:: S_GETREG_B32;
848+
return Opcode == AMDGPU::S_CMPK_EQ_U32 || Opcode == AMDGPU::S_CMPK_LG_U32 ||
849+
Opcode == AMDGPU::S_CMPK_GT_U32 || Opcode == AMDGPU::S_CMPK_GE_U32 ||
850+
Opcode == AMDGPU::S_CMPK_LT_U32 || Opcode == AMDGPU::S_CMPK_LE_U32 ||
851+
Opcode == AMDGPU::S_GETREG_B32;
855852
}
856853

857854
/// \returns true if this is an s_store_dword* instruction. This is more

0 commit comments

Comments
 (0)