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

YunQiang Su via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 5 03:02: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        \
----------------
wzssyqa wrote:

I think that we should ignore it.

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


More information about the llvm-commits mailing list