[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
parent
c7cacb2f
Please register or sign in to comment