[PATCH] D121727: [NVPTX] Integrate ptxas to LIT tests

Artem Belevich via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 20 12:57:04 PDT 2022


tra added a comment.

In D121727#3462915 <https://reviews.llvm.org/D121727#3462915>, @asavonic wrote:

> Right, but then we can't pipe it to file check. Something like this should work, but it is not portable:
>
>   llc ... | tee %t.ptx | FileCheck
>   ptxas %.ptx

What stops us doing it the same way we do for all the test cases? E.g.

  RUN: llc ... %s |  FileCheck
  RUN: %if ptxas %{ llc... %s | ptxas - %}


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D121727/new/

https://reviews.llvm.org/D121727



More information about the llvm-commits mailing list