diff options
author | eopXD <eop.chen@sifive.com> | 2021-11-06 02:05:43 -0700 |
---|---|---|
committer | eopXD <eop.chen@sifive.com> | 2022-01-20 01:47:10 -0800 |
commit | 60b6e73769f84110f2cc0a2dbbf610c8671aa696 (patch) | |
tree | 382e2adcef8fc00c6192e524d0e661fe1786390f /llvm/lib/Support/VirtualFileSystem.cpp | |
parent | 96ca6d312cebc5a83dedb5aecdd0470f92585029 (diff) | |
download | llvm-60b6e73769f84110f2cc0a2dbbf610c8671aa696.zip llvm-60b6e73769f84110f2cc0a2dbbf610c8671aa696.tar.gz llvm-60b6e73769f84110f2cc0a2dbbf610c8671aa696.tar.bz2 |
[RISCV] Imply extensions in RISCVTargetInfo::initFeatureMap
Under ASTContext, clang only copies the features from the options with
Target->initFeatureMap, and no implications is done there. This makes
clang_cc1 fail to imply into `zve32x` for the vector extension, and test
cases will have to add ` -target-feature +experimental-zve32x` in order
to work.
This patch fixes it.
Reviewed By: kito-cheng
Differential Revision: https://reviews.llvm.org/D113336
Diffstat (limited to 'llvm/lib/Support/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions