[PATCH] D23460: [NVPTX] Use untyped (.b) integer registers in PTX.

Artem Belevich via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 12 12:32:10 PDT 2016


tra added a comment.

In https://reviews.llvm.org/D23460#514147, @jlebar wrote:

> > CHECK-NOT would work, if order of .reg would be guaranteed, but it's not.
>
>
> I believe that different --check-prefixes are evaluated independently, so if you did FOO-NOT, that would effectively check that something never appears in the file.  Would that work?


Empirical evidence suggests that -check-prefixes are *not* evaluated independently. As far as I can tell, it just creates set of labels to pay attention to and then all labels within the set are treated the same.

That said, I can always do negative check in a separate RUN line, so the idea is helpful.


https://reviews.llvm.org/D23460





More information about the llvm-commits mailing list