[llvm] 889a99e - [RISCV] Move some vector tests to rvv directory. NFC

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 6 02:28:47 PDT 2023


Author: Luke Lau
Date: 2023-04-06T10:28:41+01:00
New Revision: 889a99ee58633da4dd8274958dd5a6f826944b18

URL: https://github.com/llvm/llvm-project/commit/889a99ee58633da4dd8274958dd5a6f826944b18
DIFF: https://github.com/llvm/llvm-project/commit/889a99ee58633da4dd8274958dd5a6f826944b18.diff

LOG: [RISCV] Move some vector tests to rvv directory. NFC

I personally find it handy to be able to run the check-llvm-codegen-riscv-rvv target to test anything that involves vector codegen, so this patch moves some more vector-based test cases into that directory to increase its coverage.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D147644

Added: 
    llvm/test/CodeGen/RISCV/rvv/fold-vector-cmp.ll
    llvm/test/CodeGen/RISCV/rvv/fpclamptosat_vec.ll
    llvm/test/CodeGen/RISCV/rvv/scalable-vector-struct.ll
    llvm/test/CodeGen/RISCV/rvv/vadd-vp-mask.ll
    llvm/test/CodeGen/RISCV/rvv/vec3-setcc-crash.ll
    llvm/test/CodeGen/RISCV/rvv/vmul-vp-mask.ll
    llvm/test/CodeGen/RISCV/rvv/vsub-vp-mask.ll

Modified: 
    

Removed: 
    llvm/test/CodeGen/RISCV/fold-vector-cmp.ll
    llvm/test/CodeGen/RISCV/fpclamptosat_vec.ll
    llvm/test/CodeGen/RISCV/scalable-vector-struct.ll
    llvm/test/CodeGen/RISCV/vadd-vp-mask.ll
    llvm/test/CodeGen/RISCV/vec3-setcc-crash.ll
    llvm/test/CodeGen/RISCV/vmul-vp-mask.ll
    llvm/test/CodeGen/RISCV/vsub-vp-mask.ll


################################################################################
diff  --git a/llvm/test/CodeGen/RISCV/fold-vector-cmp.ll b/llvm/test/CodeGen/RISCV/rvv/fold-vector-cmp.ll
similarity index 100%
rename from llvm/test/CodeGen/RISCV/fold-vector-cmp.ll
rename to llvm/test/CodeGen/RISCV/rvv/fold-vector-cmp.ll

diff  --git a/llvm/test/CodeGen/RISCV/fpclamptosat_vec.ll b/llvm/test/CodeGen/RISCV/rvv/fpclamptosat_vec.ll
similarity index 100%
rename from llvm/test/CodeGen/RISCV/fpclamptosat_vec.ll
rename to llvm/test/CodeGen/RISCV/rvv/fpclamptosat_vec.ll

diff  --git a/llvm/test/CodeGen/RISCV/scalable-vector-struct.ll b/llvm/test/CodeGen/RISCV/rvv/scalable-vector-struct.ll
similarity index 100%
rename from llvm/test/CodeGen/RISCV/scalable-vector-struct.ll
rename to llvm/test/CodeGen/RISCV/rvv/scalable-vector-struct.ll

diff  --git a/llvm/test/CodeGen/RISCV/vadd-vp-mask.ll b/llvm/test/CodeGen/RISCV/rvv/vadd-vp-mask.ll
similarity index 100%
rename from llvm/test/CodeGen/RISCV/vadd-vp-mask.ll
rename to llvm/test/CodeGen/RISCV/rvv/vadd-vp-mask.ll

diff  --git a/llvm/test/CodeGen/RISCV/vec3-setcc-crash.ll b/llvm/test/CodeGen/RISCV/rvv/vec3-setcc-crash.ll
similarity index 100%
rename from llvm/test/CodeGen/RISCV/vec3-setcc-crash.ll
rename to llvm/test/CodeGen/RISCV/rvv/vec3-setcc-crash.ll

diff  --git a/llvm/test/CodeGen/RISCV/vmul-vp-mask.ll b/llvm/test/CodeGen/RISCV/rvv/vmul-vp-mask.ll
similarity index 100%
rename from llvm/test/CodeGen/RISCV/vmul-vp-mask.ll
rename to llvm/test/CodeGen/RISCV/rvv/vmul-vp-mask.ll

diff  --git a/llvm/test/CodeGen/RISCV/vsub-vp-mask.ll b/llvm/test/CodeGen/RISCV/rvv/vsub-vp-mask.ll
similarity index 100%
rename from llvm/test/CodeGen/RISCV/vsub-vp-mask.ll
rename to llvm/test/CodeGen/RISCV/rvv/vsub-vp-mask.ll


        


More information about the llvm-commits mailing list