File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -845,13 +845,10 @@ class SIInstrInfo final : public AMDGPUGenInstrInfo {
845
845
// Most sopk treat the immediate as a signed 16-bit, however some
846
846
// use it as unsigned.
847
847
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;
855
852
}
856
853
857
854
// / \returns true if this is an s_store_dword* instruction. This is more
You can’t perform that action at this time.
0 commit comments