LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 31101 - Unify LLI and C-API ORC stacks.
Summary: Unify LLI and C-API ORC stacks.
Status: NEW
Alias: None
Product: libraries
Classification: Unclassified
Component: OrcJIT (show other bugs)
Version: trunk
Hardware: PC All
: P normal
Assignee: Unassigned LLVM Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-21 14:43 PST by Lang Hames
Modified: 2020-01-21 13:11 PST (History)
3 users (show)

See Also:
Fixed By Commit(s):


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lang Hames 2016-11-21 14:43:08 PST
LLI and the ORC C-bindings each have their own stack, but they have a lot of overlapping functionality. They should almost certainly share a single stack, which could also be made directly available to LLVM clients who want to use it.
Comment 1 Lang Hames 2016-11-21 14:45:20 PST
The unified stack might also be shared with the Kaleidoscope tutorials.
Comment 2 Lang Hames 2020-01-21 13:11:14 PST
LLJIT (git# 9f1c2395ce1, svn r335670) is a reasonable contender for a solution to this. It has replaced OrcLazyJIT for lli, but we still need to move the C API bindings over (or better yet write some new ones) before we close this.