[PATCH] D46423: [RISCV] Support .option relax and .option norelax

Lewis Revill via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 24 08:12:27 PDT 2018


lewis-revill added a comment.

My explanation was incorrect; the empty emitDirectiveOptionRelax is not the //reason// the inline assembly does not effect relaxation. The reason is exactly the path you pointed out: changes the local feature bit state while parsing directive options from inline assembly will never be translated to the AsmBackend to be utilized in `requiresDiffExpressionRelocations` and `shouldForceRelocation`.


Repository:
  rL LLVM

https://reviews.llvm.org/D46423





More information about the llvm-commits mailing list