diff --git a/llvm/test/CodeGen/NVPTX/LoadStoreVectorizer.ll b/llvm/test/CodeGen/NVPTX/LoadStoreVectorizer.ll index a75ddd032d4c0..dd185f5c9f731 100644 --- a/llvm/test/CodeGen/NVPTX/LoadStoreVectorizer.ll +++ b/llvm/test/CodeGen/NVPTX/LoadStoreVectorizer.ll @@ -1,8 +1,8 @@ ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5 ; RUN: llc < %s | FileCheck -check-prefix=ENABLED %s ; RUN: llc -disable-nvptx-load-store-vectorizer < %s | FileCheck -check-prefix=DISABLED %s -; RUN: %if ptxas %{ llc < %s | %ptxas-verify %} -; RUN: %if ptxas %{ llc -disable-nvptx-load-store-vectorizer < %s | %ptxas-verify %} +; RUN: %if ptxas-sm_50 && ptxas-isa-8.3 %{ llc -mcpu=sm_50 < %s | %ptxas-verify -arch=sm_50 %} +; RUN: %if ptxas-sm_50 && ptxas-isa-8.3 %{ llc -mcpu=sm_50 -disable-nvptx-load-store-vectorizer < %s | %ptxas-verify -arch=sm_50 %} target triple = "nvptx64-nvidia-cuda" diff --git a/llvm/test/CodeGen/NVPTX/param-vectorize-device.ll b/llvm/test/CodeGen/NVPTX/param-vectorize-device.ll index 643de006f14c4..f0ca80747ccf9 100644 --- a/llvm/test/CodeGen/NVPTX/param-vectorize-device.ll +++ b/llvm/test/CodeGen/NVPTX/param-vectorize-device.ll @@ -1,5 +1,5 @@ ; RUN: llc < %s -mtriple=nvptx64-unknown-unknown | FileCheck %s -; RUN: %if ptxas %{ llc < %s -mtriple=nvptx64-unknown-unknown | %ptxas-verify %} +; RUN: %if ptxas-sm_50 && ptxas-isa-8.3 %{ llc < %s -mtriple=nvptx64-unknown-unknown -mcpu=sm_50 | %ptxas-verify -arch=sm_50 %} ; ; Check that parameters of a __device__ function with private or internal ; linkage called from a __global__ (kernel) function get increased alignment,