[lli] Add new testcases for lli.
authorLang Hames <lhames@gmail.com>
Fri, 12 May 2023 00:41:30 +0000 (10:41 +1000)
committerLang Hames <lhames@gmail.com>
Fri, 12 May 2023 05:40:04 +0000 (15:40 +1000)
commit563ce9aa4ab22f10e0aa2799a3562a65a629ad0a
tree90fcf34909656a490a8f95acca644f38ecdd6fc1
parentc2eeaf105a45fe26c302418b7c835161aedba6c2
[lli] Add new testcases for lli.

These are an attempt to more systematically test the features covered by the
MCJIT regression tests (though these tests apply to lli's default mode, which
is now -jit-kind=orc).

This first batch of tests includes a basic smoke test (trivial-return-zero),
tests for single function calls and data references, and alignment handling.
llvm/test/ExecutionEngine/Orc/global-variable-alignment.ll [new file with mode: 0644]
llvm/test/ExecutionEngine/Orc/trivial-call-to-function.ll [new file with mode: 0644]
llvm/test/ExecutionEngine/Orc/trivial-call-to-internal-function.ll [new file with mode: 0644]
llvm/test/ExecutionEngine/Orc/trivial-reference-to-global-variable.ll [new file with mode: 0644]
llvm/test/ExecutionEngine/Orc/trivial-reference-to-internal-variable-nonzeroinit.ll [new file with mode: 0644]
llvm/test/ExecutionEngine/Orc/trivial-reference-to-internal-variable-zeroinit.ll [new file with mode: 0644]
llvm/test/ExecutionEngine/Orc/trivial-return-zero.ll [new file with mode: 0644]