[PATCH] D44888: [RISCV] Default enable linker relaxation and add -mrelax, -mno-relax flags

Alex Bradbury via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 5 03:36:16 PDT 2018


asb added a comment.

In https://reviews.llvm.org/D44888#1058257, @asb wrote:

> Could you please add a test? Given that the current version of https://reviews.llvm.org/D44886 enables linker relaxation by default in the backend, shouldn't -mno-relax cause -relax to be set?


Sorry, I misready D444886. Still, we should do Features.push_back("-relax") at least in the case where -mno-relax is given explicitly, meaning we don't have to rely on the backend default.


Repository:
  rC Clang

https://reviews.llvm.org/D44888





More information about the cfe-commits mailing list