[compiler-rt] Sanitizer/MIPS: fix build fail on pre-R6 (PR #76894)

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 4 11:29:00 PST 2024


================
@@ -53,6 +55,29 @@
 # define ASM_TAIL_CALL tail
 #endif
 
+#if defined(__mips64) && __mips_isa_rev < 6
+#  define C_ASM_TAIL_CALL(tfunc, ifunc)       \
+    "lui $t8, %hi(%neg(%gp_rel(" tfunc        \
----------------
vitalybuka wrote:

not sure that you need these lines breaks before )))

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


More information about the llvm-commits mailing list