[lld] [RISCV][LLD] Add RISCV zcmt optimise in linker relaxation (PR #77884)

Kito Cheng via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 16 06:10:18 PST 2024


================
@@ -340,6 +340,9 @@ defm use_android_relr_tags: BB<"use-android-relr-tags",
     "Use SHT_ANDROID_RELR / DT_ANDROID_RELR* tags instead of SHT_RELR / DT_RELR*",
     "Use SHT_RELR / DT_RELR* tags (default)">;
 
+def riscv_tbljal: FF<"riscv-tbljal">,
----------------
kito-cheng wrote:

We have `--relax-gp`, so maybe `--relax-zcmt` or `--relax-tbljal`  consistency?

https://github.com/llvm/llvm-project/pull/77884


More information about the llvm-commits mailing list