diff options
author | Piyou Chen <piyou.chen@sifive.com> | 2023-08-02 23:17:42 -0700 |
---|---|---|
committer | Piyou Chen <piyou.chen@sifive.com> | 2023-08-03 04:22:39 -0700 |
commit | 05041b78a73a3fe426e73c6ca78a64bca2587bfc (patch) | |
tree | 7ab8d854ed1d40fea652e2f595c5855dabdee87f /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | c7cacb2f6efe07fa4a1129bb7e2389312670b84a (diff) | |
download | llvm-05041b78a73a3fe426e73c6ca78a64bca2587bfc.zip llvm-05041b78a73a3fe426e73c6ca78a64bca2587bfc.tar.gz llvm-05041b78a73a3fe426e73c6ca78a64bca2587bfc.tar.bz2 |
[RISCV] emit .option directive for functions with target features which differ from module default
When function has different attributes from module, emit the .option <attribute> before the function body. This allows non-integrated assemblers to properly assemble the functions (which may contain instructions dependent on the extra target features).
Reviewed By: craig.topper, reames
Differential Revision: https://reviews.llvm.org/D155155
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions