[clang] [clang][RISCV] Fix RUN line and rename test name for pr129995 (PR #132676)

Brandon Wu via cfe-commits cfe-commits at lists.llvm.org
Sun Mar 23 23:32:05 PDT 2025


https://github.com/4vtomat created https://github.com/llvm/llvm-project/pull/132676

ninja check-clang can not detect .cc suffix, so the typo is not
detected.


>From e7b0b4feae891046553a04ddbf17e550742db54c Mon Sep 17 00:00:00 2001
From: Brandon Wu <brandon.wu at sifive.com>
Date: Sun, 23 Mar 2025 23:29:27 -0700
Subject: [PATCH] [clang][RISCV] Fix RUN line and rename test name for pr129995

ninja check-clang can not detect .cc suffix, so the typo is not
detected.
---
 clang/test/CodeGen/RISCV/{pr129995.cc => issue-129995.cpp} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename clang/test/CodeGen/RISCV/{pr129995.cc => issue-129995.cpp} (77%)

diff --git a/clang/test/CodeGen/RISCV/pr129995.cc b/clang/test/CodeGen/RISCV/issue-129995.cpp
similarity index 77%
rename from clang/test/CodeGen/RISCV/pr129995.cc
rename to clang/test/CodeGen/RISCV/issue-129995.cpp
index 590c6b9fbdf96..4cd60a854558e 100644
--- a/clang/test/CodeGen/RISCV/pr129995.cc
+++ b/clang/test/CodeGen/RISCV/issue-129995.cpp
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 triple riscv64 -emit-llvm -target-feature +m -target-feature +v -target-abi lp64d -o /dev/null %s
+// RUN: %clang_cc1 -triple riscv64 -emit-llvm -target-feature +m -target-feature +v -target-abi lp64d -o /dev/null %s
 
 struct a {
   using b = char __attribute__((vector_size(sizeof(char))));



More information about the cfe-commits mailing list