[PATCH] D102535: [RISCV] -mno-relax: emit .option norelax
Evandro Menezes via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 10 16:40:10 PDT 2021
evandro added a comment.
Methinks that the choice of whether to relax or not should be decided outside of the assembler code. This directive sets the choice in stone and counters any choice done at build time, when optimizations are specified. For instance, when building a debug version, the optimizations may be different from when building a release version. This directive blocks such common practices and may create confusion and non expected results.
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