From 6fc2ad62e23673ef829c9c4bbf62743d30928a5b Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Fri, 3 May 2013 14:15:35 +0000 Subject: [SystemZ] Add MCJIT support Another step towards reinstating the SystemZ backend. I'll commit the configure changes separately (TARGET_HAS_JIT etc.), then commit a patch to enable the MCJIT tests on SystemZ. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181015 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h') diff --git a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h index 51873b1f4b..9d767a067c 100644 --- a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h +++ b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h @@ -172,10 +172,19 @@ protected: return 16; else if (Arch == Triple::ppc64) return 44; + else if (Arch == Triple::systemz) + return 16; else return 0; } + inline unsigned getStubAlignment() { + if (Arch == Triple::systemz) + return 8; + else + return 1; + } + bool HasError; std::string ErrorStr; -- cgit v1.2.3