[PATCH] D102535: [RISCV] -mno-relax: emit .option norelax
Saleem Abdulrasool via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 19 13:41:38 PDT 2021
compnerd added a comment.
If the user is passing along `-mno-relax` encoding that in the object file isn't expensive, and it doesn't harm anything. In fact, the user _could_ at a later point pass in `-mrelax` to the assembler to override the beahviour (with a warning). But what @raj.khem states about the non-IAS case should hold - `-mno-relax` should get passed along to the assembler along with the hint in the object file.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D102535/new/
https://reviews.llvm.org/D102535
More information about the llvm-commits
mailing list