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

Andrew Savonichev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 20 13:07:53 PDT 2022


asavonic added a comment.

In D121727#3462941 <https://reviews.llvm.org/D121727#3462941>, @tra wrote:

> 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 - %}

Well, this will probably double execution time for all tests. Options for llc have to be duplicated as well and kept in sync.


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