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

Kito Cheng via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun May 13 20:16:45 PDT 2018


kito-cheng added inline comments.


================
Comment at: lib/Driver/ToolChains/Arch/RISCV.cpp:130
+  // which may override the defaults.
+  handleTargetFeaturesGroup(Args, Features, options::OPT_m_riscv_Features_Group);
 }
----------------
This part should  move to the begin of the function, otherwise it never executed if `Exts` is empty string.



Repository:
  rL LLVM

https://reviews.llvm.org/D44888





More information about the cfe-commits mailing list