在 2023/11/14 下午5:55, Xi Ruoyao 写道:
On Tue, 2023-11-14 at 17:45 +0800, Lulu Cheng wrote:
+      /* When function calls are made through call36, t0 register will be
+        implicitly modified, so '-fno-ipa-ra' needs to be set here.  */
        case CMODEL_MEDIUM:
+       if (HAVE_AS_SUPPORT_CALL36)
+         opts->x_flag_ipa_ra = 0;
+       break;
Maybe we can add a (clobber (reg:P 12)) to the related insns instead?

Sorry, this was modified in accordance with the call36 macro instruction during the test.
I will use clobber, and add test cases.

Reply via email to