R600: Implement TargetLowering::getVectorIdxTy()
[oota-llvm.git] / lib / Target / R600 / AMDGPUISelLowering.cpp
index 5db36b0267d5d017b5adf65c88e5f2c3a7d0fcd1..efd27567fe21aaa83f03e59a4274579f4479ec97 100644 (file)
@@ -121,6 +121,15 @@ AMDGPUTargetLowering::AMDGPUTargetLowering(TargetMachine &TM) :
   }
 }
 
+//===----------------------------------------------------------------------===//
+// Target Information
+//===----------------------------------------------------------------------===//
+
+MVT AMDGPUTargetLowering::getVectorIdxTy() const {
+  return MVT::i32;
+}
+
+
 //===---------------------------------------------------------------------===//
 // Target Properties
 //===---------------------------------------------------------------------===//