Skip to content

[test] Move RISCV tests to clang/test/CodeGen/RISCV/ #91783

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

MaskRay
Copy link
Member

@MaskRay MaskRay commented May 10, 2024

The directory was created by 2f1fe9a
(2020).

Created using spr 1.3.5-bogner
@llvmbot llvmbot added clang Clang issues not falling into any other category backend:RISC-V labels May 10, 2024
@llvmbot
Copy link
Member

llvmbot commented May 10, 2024

@llvm/pr-subscribers-backend-risc-v

@llvm/pr-subscribers-clang

Author: Fangrui Song (MaskRay)

Changes

Full diff: https://github.com/llvm/llvm-project/pull/91783.diff

13 Files Affected:

  • (renamed) clang/test/CodeGen/RISCV/attr-rvv-vector-bits-bitcast.c ()
  • (renamed) clang/test/CodeGen/RISCV/attr-rvv-vector-bits-call.c ()
  • (renamed) clang/test/CodeGen/RISCV/attr-rvv-vector-bits-cast.c ()
  • (renamed) clang/test/CodeGen/RISCV/attr-rvv-vector-bits-codegen.c ()
  • (renamed) clang/test/CodeGen/RISCV/attr-rvv-vector-bits-globals.c ()
  • (renamed) clang/test/CodeGen/RISCV/attr-rvv-vector-bits-types.c ()
  • (renamed) clang/test/CodeGen/RISCV/riscv32-ilp32d-abi.cpp ()
  • (renamed) clang/test/CodeGen/RISCV/rvv-vls-arith-ops.c ()
  • (renamed) clang/test/CodeGen/RISCV/rvv-vls-bitwise-ops.c ()
  • (renamed) clang/test/CodeGen/RISCV/rvv-vls-compare-ops.c ()
  • (renamed) clang/test/CodeGen/RISCV/rvv-vls-shift-ops.c ()
  • (renamed) clang/test/CodeGen/RISCV/rvv-vls-subscript-ops.c ()
  • (renamed) clang/test/CodeGen/RISCV/vector-bits-vscale-range.c ()
diff --git a/clang/test/CodeGen/attr-riscv-rvv-vector-bits-bitcast.c b/clang/test/CodeGen/RISCV/attr-rvv-vector-bits-bitcast.c
similarity index 100%
rename from clang/test/CodeGen/attr-riscv-rvv-vector-bits-bitcast.c
rename to clang/test/CodeGen/RISCV/attr-rvv-vector-bits-bitcast.c
diff --git a/clang/test/CodeGen/attr-riscv-rvv-vector-bits-call.c b/clang/test/CodeGen/RISCV/attr-rvv-vector-bits-call.c
similarity index 100%
rename from clang/test/CodeGen/attr-riscv-rvv-vector-bits-call.c
rename to clang/test/CodeGen/RISCV/attr-rvv-vector-bits-call.c
diff --git a/clang/test/CodeGen/attr-riscv-rvv-vector-bits-cast.c b/clang/test/CodeGen/RISCV/attr-rvv-vector-bits-cast.c
similarity index 100%
rename from clang/test/CodeGen/attr-riscv-rvv-vector-bits-cast.c
rename to clang/test/CodeGen/RISCV/attr-rvv-vector-bits-cast.c
diff --git a/clang/test/CodeGen/attr-riscv-rvv-vector-bits-codegen.c b/clang/test/CodeGen/RISCV/attr-rvv-vector-bits-codegen.c
similarity index 100%
rename from clang/test/CodeGen/attr-riscv-rvv-vector-bits-codegen.c
rename to clang/test/CodeGen/RISCV/attr-rvv-vector-bits-codegen.c
diff --git a/clang/test/CodeGen/attr-riscv-rvv-vector-bits-globals.c b/clang/test/CodeGen/RISCV/attr-rvv-vector-bits-globals.c
similarity index 100%
rename from clang/test/CodeGen/attr-riscv-rvv-vector-bits-globals.c
rename to clang/test/CodeGen/RISCV/attr-rvv-vector-bits-globals.c
diff --git a/clang/test/CodeGen/attr-riscv-rvv-vector-bits-types.c b/clang/test/CodeGen/RISCV/attr-rvv-vector-bits-types.c
similarity index 100%
rename from clang/test/CodeGen/attr-riscv-rvv-vector-bits-types.c
rename to clang/test/CodeGen/RISCV/attr-rvv-vector-bits-types.c
diff --git a/clang/test/CodeGen/riscv32-ilp32d-abi.cpp b/clang/test/CodeGen/RISCV/riscv32-ilp32d-abi.cpp
similarity index 100%
rename from clang/test/CodeGen/riscv32-ilp32d-abi.cpp
rename to clang/test/CodeGen/RISCV/riscv32-ilp32d-abi.cpp
diff --git a/clang/test/CodeGen/riscv-rvv-vls-arith-ops.c b/clang/test/CodeGen/RISCV/rvv-vls-arith-ops.c
similarity index 100%
rename from clang/test/CodeGen/riscv-rvv-vls-arith-ops.c
rename to clang/test/CodeGen/RISCV/rvv-vls-arith-ops.c
diff --git a/clang/test/CodeGen/riscv-rvv-vls-bitwise-ops.c b/clang/test/CodeGen/RISCV/rvv-vls-bitwise-ops.c
similarity index 100%
rename from clang/test/CodeGen/riscv-rvv-vls-bitwise-ops.c
rename to clang/test/CodeGen/RISCV/rvv-vls-bitwise-ops.c
diff --git a/clang/test/CodeGen/riscv-rvv-vls-compare-ops.c b/clang/test/CodeGen/RISCV/rvv-vls-compare-ops.c
similarity index 100%
rename from clang/test/CodeGen/riscv-rvv-vls-compare-ops.c
rename to clang/test/CodeGen/RISCV/rvv-vls-compare-ops.c
diff --git a/clang/test/CodeGen/riscv-rvv-vls-shift-ops.c b/clang/test/CodeGen/RISCV/rvv-vls-shift-ops.c
similarity index 100%
rename from clang/test/CodeGen/riscv-rvv-vls-shift-ops.c
rename to clang/test/CodeGen/RISCV/rvv-vls-shift-ops.c
diff --git a/clang/test/CodeGen/riscv-rvv-vls-subscript-ops.c b/clang/test/CodeGen/RISCV/rvv-vls-subscript-ops.c
similarity index 100%
rename from clang/test/CodeGen/riscv-rvv-vls-subscript-ops.c
rename to clang/test/CodeGen/RISCV/rvv-vls-subscript-ops.c
diff --git a/clang/test/CodeGen/riscv-vector-bits-vscale-range.c b/clang/test/CodeGen/RISCV/vector-bits-vscale-range.c
similarity index 100%
rename from clang/test/CodeGen/riscv-vector-bits-vscale-range.c
rename to clang/test/CodeGen/RISCV/vector-bits-vscale-range.c

@MaskRay MaskRay requested review from asb, lukel97 and topperc May 10, 2024 18:01
Copy link
Collaborator

@topperc topperc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I think most of there were in CodeGen because they are based on aarch64 tests. I guess AArch64 doesn't have its own directory.

@MaskRay MaskRay merged commit e9f53e4 into main May 10, 2024
6 of 7 checks passed
@MaskRay MaskRay deleted the users/MaskRay/spr/test-move-riscv-tests-to-clangtestcodegenriscv branch May 10, 2024 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend:RISC-V clang Clang issues not falling into any other category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants