[all-commits] [llvm/llvm-project] ddb704: [clang][test][RISCV] Introduce separate RUN lines ...

Alex Bradbury via All-commits all-commits at lists.llvm.org
Tue Feb 14 13:07:23 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ddb704247b16002d916bba67e3aa9f54fd4bbace
      https://github.com/llvm/llvm-project/commit/ddb704247b16002d916bba67e3aa9f54fd4bbace
  Author: Alex Bradbury <asb at igalia.com>
  Date:   2023-02-14 (Tue, 14 Feb 2023)

  Changed paths:
    M clang/test/Preprocessor/riscv-target-features.c

  Log Message:
  -----------
  [clang][test][RISCV] Introduce separate RUN lines for __risv_i test in riscv-target-features.c

Craig Topper pointed out in post-commit review of d05e1e99b1d that the
series of CHECK-NOT lines followed by CHECK would not work as intended
if __riscv_i came first in the input and was followed by the disallowed
lines.

The simplest solution is to just introduced separate RUN lines for the
__riscv_i check.




More information about the All-commits mailing list