diff --git a/llvm/test/CodeGen/NVPTX/asm-printer-ptx-module-directives.ll b/llvm/test/CodeGen/NVPTX/asm-printer-ptx-module-directives.ll index cc4323a92176..3dde9950d24b 100644 --- a/llvm/test/CodeGen/NVPTX/asm-printer-ptx-module-directives.ll +++ b/llvm/test/CodeGen/NVPTX/asm-printer-ptx-module-directives.ll @@ -1,7 +1,7 @@ ; Test to verify functionality of NVPTXAsmPrinter for PTX module directives and header. ; RUN: llc < %s -mtriple=nvptx64 -mcpu=sm_100 -mattr=+ptx87 | FileCheck %s -; RUN: %if ptxas %{ llc < %s -mtriple=nvptx64 -mcpu=sm_100 -mattr=+ptx87 | %ptxas-verify %} +; RUN: %if ptxas-sm_100 && ptxas-isa-8.7 %{ llc < %s -mtriple=nvptx64 -mcpu=sm_100 -mattr=+ptx87 | %ptxas-verify -arch=sm_100 %} ; CHECK: // ; CHECK-NEXT: // Generated by LLVM NVPTX Back-End