[PATCH] D137819: [XCOFF] support the overflow section (only relocation overflow is handled).

Esme Yi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 5 20:48:07 PST 2022


Esme added inline comments.


================
Comment at: llvm/test/CodeGen/PowerPC/aix-xcoff-huge-relocs.ll:8
+; RUN:   sed > %t.overflow.ll 's/SIZE/65535/;s/MACRO/#/;s/#/################/g;s/#/################/g;s/#/################/g;s/#/################/g;s/#/#_/g;s/_#_\([^#]\)/\1/;s/_/, /g;s/#/ptr @c/g;'
+; RUN: llc -verify-machineinstrs -mtriple powerpc-ibm-aix-xcoff \
+; RUN:     -mcpu=pwr4 -mattr=-altivec -filetype=obj -o %t.overflow.o %t.overflow.ll
----------------
DiggerLin wrote:
> since 64bit do not have overflow section. I think we also need 64bits test case.
We've already test XCOFF64. (See line 20~23)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D137819



More information about the llvm-commits mailing list