diff options
| author | Simon Cook <simon.cook@embecosm.com> | 2019-11-18 10:44:13 +0000 |
|---|---|---|
| committer | Simon Cook <simon.cook@embecosm.com> | 2019-11-18 10:44:24 +0000 |
| commit | c00e5cf29d49e51701b00382a3f41a4dfe1c0c0f (patch) | |
| tree | 71b6d2418ab239a68e487aedadd21ecb5308ab05 /llvm/tools/llvm-rc/ResourceScriptToken.cpp | |
| parent | 03e7fb2e075e2cfca7a0c9e3730a48d52101dec2 (diff) | |
| download | llvm-c00e5cf29d49e51701b00382a3f41a4dfe1c0c0f.zip llvm-c00e5cf29d49e51701b00382a3f41a4dfe1c0c0f.tar.gz llvm-c00e5cf29d49e51701b00382a3f41a4dfe1c0c0f.tar.bz2 | |
[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
Diffstat (limited to 'llvm/tools/llvm-rc/ResourceScriptToken.cpp')
0 files changed, 0 insertions, 0 deletions
