HomePhabricator

[RISCV] Set triple based on -march flag

Authored by simoncook on Nov 18 2019, 2:44 AM.

Description

[RISCV] Set triple based on -march flag

For RISC-V the value provided to -march should determine whether to
compile for 32- or 64-bit RISC-V irrespective of the target provided to
the Clang driver. This adds a test for this flag for RISC-V and sets the
Target architecture correctly in these cases.

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

Details

Committed
simoncookNov 18 2019, 2:44 AM
Differential Revision
D54214: [RISCV] Set triple based on -march flag
Parents
rG03e7fb2e075e: [NFC][Test] Add the vavg test for PowerPC
Branches
Unknown
Tags
Unknown