[all-commits] [llvm/llvm-project] 429cba: [RISCV] Pass -mno-relax to assembler when -fno-int...
luxufan via All-commits
all-commits at lists.llvm.org
Sun Apr 17 20:17:04 PDT 2022
Author: luxufan <xufan at nj.iscas.ac.cn>
Date: 2022-04-18 (Mon, 18 Apr 2022)
[RISCV] Pass -mno-relax to assembler when -fno-integrated-as specified
In the past, `clang --target=riscv64-unknown-linux-gnu -mno-relax -c hello.s` will assemble hello.s without relaxation, but `clang --target=riscv64-unknown-linux-gnu -mno-relax -fno-integrated-as -c hello.s` doesn't pass the `-mno-relax` option to assembler, and assemble with relaxation
This patch pass the -mno-relax option to assembler when -fno-integrated-as is specified.
Differential Revision: https://reviews.llvm.org/D120639
More information about the All-commits