R600/SI: Fix warning with gcc 4.8.2

llvm-svn: 204618
This commit is contained in:
Tom Stellard 2014-03-24 16:12:34 +00:00
parent da99c6eff5
commit 8c12fd9252
1 changed files with 1 additions and 1 deletions

View File

@ -498,7 +498,7 @@ unsigned SIInstrInfo::getVALUOp(const MachineInstr &MI) {
case AMDGPU::PHI: return AMDGPU::PHI;
case AMDGPU::S_MOV_B32:
return MI.getOperand(1).isReg() ?
TargetOpcode::COPY : AMDGPU::V_MOV_B32_e32;
AMDGPU::COPY : AMDGPU::V_MOV_B32_e32;
case AMDGPU::S_ADD_I32: return AMDGPU::V_ADD_I32_e32;
case AMDGPU::S_ADDC_U32: return AMDGPU::V_ADDC_U32_e32;
case AMDGPU::S_SUB_I32: return AMDGPU::V_SUB_I32_e32;