MaskRay added inline comments.

================
Comment at: clang/test/Driver/ppc-roptr.c:1
+// RUN: %clang -### -target powerpc-ibm-aix-xcoff -mroptr %s 2>&1 | \
+// RUN:     FileCheck %s --check-prefixes=ROPTR,LINK
----------------
Prefer `--target=` to `-target ` for new tests.


================
Comment at: clang/test/Driver/ppc-roptr.c:21
+// RUN:     FileCheck %s --check-prefix=ROPTR
+// RUN: %clang -### -target powerpc64-ibm-aix-xcoff -S -mroptr %s 2>&1 | \
+// RUN:     FileCheck %s --check-prefix=ROPTR
----------------
I feel that there are too many RUN lines. Every little makes. Can you reduce 
the numbers? For example

In many cases it isn't necessary to test every combination with both -S/-c. 
Testing one suffices.

When you test 4 combinations of two factors, e,g.
```
%clang a c
%clang a d
%clang b c
%clang b d
```
In many times two RUN lines are sufficient:
```
%clang a c
%clang b d
```


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D144190

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to