diff options
author | Piyou Chen <piyou.chen@sifive.com> | 2023-11-23 22:58:35 -0800 |
---|---|---|
committer | Piyou Chen <piyou.chen@sifive.com> | 2023-11-23 23:05:21 -0800 |
commit | d80e46da7d20645afd7b751a4e6cba9837addcb4 (patch) | |
tree | 1101a50c6dac17a4275ddd1660f90fd374c1af1b /llvm/lib/CodeGen/MachineSink.cpp | |
parent | 81761bd0f1fbb142546c946105384eab4811eba8 (diff) | |
download | llvm-d80e46da7d20645afd7b751a4e6cba9837addcb4.zip llvm-d80e46da7d20645afd7b751a4e6cba9837addcb4.tar.gz llvm-d80e46da7d20645afd7b751a4e6cba9837addcb4.tar.bz2 |
[RISCV] Support target attribute for function
The proposal of target attribute is https://github.com/riscv-non-isa/riscv-c-api-doc/pull/35
This patch implements it by emitting .option arch during codegen.
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D151730
Diffstat (limited to 'llvm/lib/CodeGen/MachineSink.cpp')
0 files changed, 0 insertions, 0 deletions