llvm-project/llvm/test/Examples/OrcV2Examples/lljit-with-thinlto-summaries.test
Lang Hames f81ccb5209 [ExecutionEngine] Re-enable JIT tests on PowerPC.
These were previously re-enabled in d771f54107c, but had to be disabled again
in 2060a72b4d7 due to test failures.

This is a next step to landing https://reviews.llvm.org/D148192, which adds
a skeleton JITLink backend for PowerPC.

The fixes for those failures were (1) to explicitly specify IsLittleEndian =
true for the MachO YAML testcases, (2) disable some example tests for examples
that aren't supported on PowerPC yet, and (3) fixing the endianness of a
relocation read/write (for ELF R_AARCH64_TSTBR14) in RuntimeDyldELF.
2023-05-21 16:12:06 -07:00

16 lines
632 B
Plaintext

# RUN: opt -module-summary %p/Inputs/main-mod.ll -o %T/main-mod.bc
# RUN: opt -module-summary %p/Inputs/foo-mod.ll -o %T/foo-mod.bc
# RUN: opt -module-summary %p/Inputs/bar-mod.ll -o %T/bar-mod.bc
# REQUIRES: default_triple
# UNSUPPORTED: target=powerpc64{{.*}}
# RUN: llvm-lto -thinlto -o %T/main-foo-bar %T/main-mod.bc %T/foo-mod.bc %T/bar-mod.bc
# RUN: LLJITWithThinLTOSummaries %T/main-foo-bar.thinlto.bc 2>&1 | FileCheck %s
# CHECK: About to load module: {{.*}}/main-mod.bc
# CHECK-DAG: About to load module: {{.*}}/foo-mod.bc
# CHECK-DAG: About to load module: {{.*}}/bar-mod.bc
# CHECK: 'main' finished with exit code: 0