R600/SI: Add an intrinsic for S_FLBIT_I32 / V_FFBH_I32
[oota-llvm.git] / lib / Target / R600 / SIInstrInfo.cpp
index a4662643224483838f80539066dde42496a3b0a5..ea9ad71f7fbfea455a139ace1d9e12bb0e7c73d5 100644 (file)
@@ -1420,6 +1420,7 @@ unsigned SIInstrInfo::getVALUOp(const MachineInstr &MI) {
   case AMDGPU::S_BCNT1_I32_B32: return AMDGPU::V_BCNT_U32_B32_e64;
   case AMDGPU::S_FF1_I32_B32: return AMDGPU::V_FFBL_B32_e32;
   case AMDGPU::S_FLBIT_I32_B32: return AMDGPU::V_FFBH_U32_e32;
+  case AMDGPU::S_FLBIT_I32: return AMDGPU::V_FFBH_I32_e64;
   }
 }