Index: lib/Target/AMDGPU/GCNHazardRecognizer.cpp =================================================================== --- lib/Target/AMDGPU/GCNHazardRecognizer.cpp +++ lib/Target/AMDGPU/GCNHazardRecognizer.cpp @@ -72,8 +72,8 @@ } static bool isSMovRel(unsigned Opcode) { - return Opcode == AMDGPU::S_MOVRELS_B32 || AMDGPU::S_MOVRELS_B64 || - Opcode == AMDGPU::S_MOVRELD_B32 || AMDGPU::S_MOVRELD_B64; + return Opcode == AMDGPU::S_MOVRELS_B32 || Opcode == AMDGPU::S_MOVRELS_B64 || + Opcode == AMDGPU::S_MOVRELD_B32 || Opcode == AMDGPU::S_MOVRELD_B64; } static bool isVInterp(unsigned Opcode) { Index: test/CodeGen/AMDGPU/inserted-wait-states.mir =================================================================== --- test/CodeGen/AMDGPU/inserted-wait-states.mir +++ test/CodeGen/AMDGPU/inserted-wait-states.mir @@ -453,22 +453,18 @@ # GCN-LABEL: bb.0: # GCN: S_MOV_B32 -# GFX9: S_NOP # GCN-NEXT: V_INTERP_P1_F32 # GCN-LABEL: bb.1: # GCN: S_MOV_B32 -# GFX9: S_NOP # GCN-NEXT: V_INTERP_P2_F32 # GCN-LABEL: bb.2: # GCN: S_MOV_B32 -# GFX9: S_NOP # GCN-NEXT: V_INTERP_P1_F32_16bank # GCN-LABEL: bb.3: # GCN: S_MOV_B32 -# GFX9: S_NOP # GCN-NEXT: V_INTERP_MOV_F32 name: v_interp