[PATCH] D86879: [XCOFF][AIX] Handle TOC entries that could not be reached by positive range in small code model

Hubert Tong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 3 12:17:40 PDT 2020


hubert.reinterpretcast added inline comments.


================
Comment at: llvm/test/CodeGen/PowerPC/aix-overflow-toc.test:1
+# RUN: python %s > %t.ll
+# RUN: llc -mtriple powerpc-ibm-aix-xcoff -code-model=small -mcpu=pwr4 -mattr=-altivec -O0 < %t.ll | \
----------------
jasonliu wrote:
> hubert.reinterpretcast wrote:
> > Noting that most tests that use the test file itself as a Python script are named with a `py` file extension (e.g., `llvm/test/MC/COFF/bigobj.py`).
> Yeah... I noticed that.
> But for some reason, when I initially use .py as file extension, it results in lit not running that test when running a folder of tests (It's fine if I only run that test) . Could be that I need to tweak some lit config file to make it not skip over? But I didn't get to the bottom of it, and used '.test' as workaround. 
Something like `llvm/test/CodeGen/SystemZ/Large/lit.local.cfg` would could be placed into `llvm/test/CodeGen/PowerPC/`. Indeed, `llvm/test/MC/COFF/bigobj.py` doesn't seem to run.


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

https://reviews.llvm.org/D86879



More information about the llvm-commits mailing list