[llvm] r204618 - R600/SI: Fix warning with gcc 4.8.2
Tom Stellard
thomas.stellard at amd.com
Mon Mar 24 09:12:34 PDT 2014
Author: tstellar
Date: Mon Mar 24 11:12:34 2014
New Revision: 204618
URL: http://llvm.org/viewvc/llvm-project?rev=204618&view=rev
Log:
R600/SI: Fix warning with gcc 4.8.2
Modified:
llvm/trunk/lib/Target/R600/SIInstrInfo.cpp
Modified: llvm/trunk/lib/Target/R600/SIInstrInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/R600/SIInstrInfo.cpp?rev=204618&r1=204617&r2=204618&view=diff
==============================================================================
--- llvm/trunk/lib/Target/R600/SIInstrInfo.cpp (original)
+++ llvm/trunk/lib/Target/R600/SIInstrInfo.cpp Mon Mar 24 11:12:34 2014
@@ -498,7 +498,7 @@ unsigned SIInstrInfo::getVALUOp(const Ma
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;
More information about the llvm-commits
mailing list