[all-commits] [llvm/llvm-project] b0eb39: [clang][RISCV][test] Add more tests of the -mabi a...

Ben Shi via All-commits all-commits at lists.llvm.org
Wed Jun 9 18:14:31 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b0eb3919835a7bb57cb28ae684d77fece8ff025c
      https://github.com/llvm/llvm-project/commit/b0eb3919835a7bb57cb28ae684d77fece8ff025c
  Author: Ben Shi <powerman1st at 163.com>
  Date:   2021-06-10 (Thu, 10 Jun 2021)

  Changed paths:
    M clang/test/Driver/riscv-abi.c
    M clang/test/Driver/riscv-arch.c

  Log Message:
  -----------
  [clang][RISCV][test] Add more tests of the -mabi and -march options

1. There is no tests for mabi=ilp32e, and my patch covers that.
2. The tests in riscv-abi.c will show default ABI changes for special archs
   in the future, especially the arch with the F but without the D extension.
3. The tests in riscv-arch.c will show default arch changes for abi=ilp32,
   which is rv32imacfd currently, but it is better to be rv32imac.
   And it is also better for abi=ilp32f defaults to arch=imacf.

Reviewed By: MaskRay, luismarques

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




More information about the All-commits mailing list