[PATCH] D87916: [PowerPC][LLD] Extend R2 save stub to support offsets of more than 26 bits

Victor Huang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 23 14:36:06 PDT 2020


NeHuang accepted this revision as: NeHuang.
NeHuang added a comment.

LGTM. Only two nits comment.



================
Comment at: lld/test/ELF/ppc64-toc-call-to-pcrel-long-jump.s:51
+# CHECK-LABEL: <__toc_save_callee>:
+# CHECK-LABEL:   std 2, 24(1)
+# CHECK-LABEL:   b 0x10010000
----------------
`CHECK-LABEL` to `CHECK` 


================
Comment at: lld/test/ELF/ppc64-toc-call-to-pcrel-long-jump.s:52
+# CHECK-LABEL:   std 2, 24(1)
+# CHECK-LABEL:   b 0x10010000
+.section .text_caller_close, "ax", %progbits
----------------
`CHECK-LABEL` to `CHECK-NEXT`


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D87916/new/

https://reviews.llvm.org/D87916



More information about the llvm-commits mailing list