[llvm] 964aedb - RISCV, test: Move relocation-specific tests to Relocations/

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Sat May 24 16:53:55 PDT 2025


Author: Fangrui Song
Date: 2025-05-24T16:53:50-07:00
New Revision: 964aedbe20d4a91b1b3349ba9e81cfe9d49b4984

URL: https://github.com/llvm/llvm-project/commit/964aedbe20d4a91b1b3349ba9e81cfe9d49b4984
DIFF: https://github.com/llvm/llvm-project/commit/964aedbe20d4a91b1b3349ba9e81cfe9d49b4984.diff

LOG: RISCV,test: Move relocation-specific tests to Relocations/

Similar to some well-curated tests under LoongArch/Relocations and
Sparc/Relocations.

Added: 
    llvm/test/MC/RISCV/Relocations/align-non-executable.s
    llvm/test/MC/RISCV/Relocations/data-directive-specifier.s
    llvm/test/MC/RISCV/Relocations/expr-err.s
    llvm/test/MC/RISCV/Relocations/expr.s
    llvm/test/MC/RISCV/Relocations/leb128.s
    llvm/test/MC/RISCV/Relocations/relocations.s
    llvm/test/MC/RISCV/Relocations/sub-expr.s

Modified: 
    

Removed: 
    llvm/test/MC/RISCV/align-non-executable.s
    llvm/test/MC/RISCV/data-directive-specifier.s
    llvm/test/MC/RISCV/expressions.s
    llvm/test/MC/RISCV/fixups-binary-expression.s
    llvm/test/MC/RISCV/fixups-expr.s
    llvm/test/MC/RISCV/leb128.s
    llvm/test/MC/RISCV/relocations.s


################################################################################
diff  --git a/llvm/test/MC/RISCV/align-non-executable.s b/llvm/test/MC/RISCV/Relocations/align-non-executable.s
similarity index 100%
rename from llvm/test/MC/RISCV/align-non-executable.s
rename to llvm/test/MC/RISCV/Relocations/align-non-executable.s

diff  --git a/llvm/test/MC/RISCV/data-directive-specifier.s b/llvm/test/MC/RISCV/Relocations/data-directive-specifier.s
similarity index 100%
rename from llvm/test/MC/RISCV/data-directive-specifier.s
rename to llvm/test/MC/RISCV/Relocations/data-directive-specifier.s

diff  --git a/llvm/test/MC/RISCV/expressions.s b/llvm/test/MC/RISCV/Relocations/expr-err.s
similarity index 100%
rename from llvm/test/MC/RISCV/expressions.s
rename to llvm/test/MC/RISCV/Relocations/expr-err.s

diff  --git a/llvm/test/MC/RISCV/fixups-binary-expression.s b/llvm/test/MC/RISCV/Relocations/expr.s
similarity index 100%
rename from llvm/test/MC/RISCV/fixups-binary-expression.s
rename to llvm/test/MC/RISCV/Relocations/expr.s

diff  --git a/llvm/test/MC/RISCV/leb128.s b/llvm/test/MC/RISCV/Relocations/leb128.s
similarity index 100%
rename from llvm/test/MC/RISCV/leb128.s
rename to llvm/test/MC/RISCV/Relocations/leb128.s

diff  --git a/llvm/test/MC/RISCV/relocations.s b/llvm/test/MC/RISCV/Relocations/relocations.s
similarity index 100%
rename from llvm/test/MC/RISCV/relocations.s
rename to llvm/test/MC/RISCV/Relocations/relocations.s

diff  --git a/llvm/test/MC/RISCV/fixups-expr.s b/llvm/test/MC/RISCV/Relocations/sub-expr.s
similarity index 100%
rename from llvm/test/MC/RISCV/fixups-expr.s
rename to llvm/test/MC/RISCV/Relocations/sub-expr.s


        


More information about the llvm-commits mailing list