[NVPTX] Add support for isspacep instruction
[oota-llvm.git] / lib / Target / NVPTX / NVPTXInstrInfo.td
index fbcd0e4a358fb9255967393c45557dd51bd8fed6..14de4b76f0f907e3e6cadea35acb7f5ee6ffc751 100644 (file)
@@ -161,6 +161,8 @@ def hasHWROT32 : Predicate<"Subtarget.hasHWROT32()">;
 
 def true : Predicate<"1">;
 
+def hasPTX31 : Predicate<"Subtarget.getPTXVersion() >= 31">;
+
 
 //===----------------------------------------------------------------------===//
 // Some Common Instruction Class Templates