[PATCH] D31285: [PPC] Add generated tests for all atomic operations

Chandler Carruth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 27 07:18:56 PDT 2017


chandlerc added a comment.

In https://reviews.llvm.org/D31285#708858, @timshen wrote:

> Done.
>
> I also tried to remove basic block comments. It turns out to be hard, because empty CHECK lines are not allowed. So I gave up. :P


The way to do that is to give the basic blocks a name:

  define void test0() {
  entry:
    ...
    ret void
  }

This will say "entry:" rather than a comment. I much prefer this, especially when generating check lines with the script.


Repository:
  rL LLVM

https://reviews.llvm.org/D31285





More information about the llvm-commits mailing list