google / google/xls

aot_compiler needs to generate all llvm bitcode in order to determine the ABI requirements.

Open
#3,724 0 comments 0 reactions 0 assignees View on GitHub
jit
Dominant language
C++
Stars
1.9k
Forks
283
Avg merge
2d 10h
Merged PRs (30d)
135

Description

**Describe the bug**
The aot_compiler needs to determine what the ABI requirements for the compiled code it generates in order to tell other users how to call it (eg alignment of input buffers, sizes, etc). These are determined while generating the llvm bitcode.

Ideally we should be able to figure out what the ABI requirements for the functions are without actually generating the entire llvm bitcode function.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.