[PATCH] D121445: [Clang][CSKY] Add the CSKY target and compiler driver
Zixuan Wu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Mar 13 20:07:43 PDT 2022
zixuan-wu added inline comments.
================
Comment at: clang/test/Driver/csky-arch.c:26
+
+// RUN: %clang -target csky-unknown-elf -march=csky -### %s \
+// RUN: -fsyntax-only 2>&1 | FileCheck -check-prefix=CSKY %s
----------------
rengolin wrote:
> I don't think this is doing what you expect it to do.
>
> Depending on the output, you can still match all CHECK lines and not have the output you want.
>
> To avoid issues, we usually separate tests that must pass (positive tests) like the lines above 24, from tests that must fail (negative tests) like the lines below.
You mean separate into two files or two parts in one file?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D121445/new/
https://reviews.llvm.org/D121445
More information about the cfe-commits
mailing list