Skip to content

Conversation

mishok2503
Copy link
Collaborator

Summary:

The wrapper (KCallable) was created for the objects (Function, InlineAsm) that can be called in LLVM IR. Now callExternalFunction takes the KCallable wrapper as an argument. In the ExternalDispatcherImpl::createDispatcher function was added a code branch to process inline assembler code (the llvm::IRBuilder<>.CreateCall function call with the InlineAsm object as a parameter).

Checklist:

  • The PR addresses a single issue. If it can be divided into multiple independent PRs, please do so.
  • The PR is divided into a logical sequence of commits OR a single commit is sufficient.
  • There are no unnecessary commits (e.g. commits fixing issues in a previous commit in the same PR).
  • Each commit has a meaningful message documenting what it does.
  • All messages added to the codebase, all comments, as well as commit messages are spellchecked.
  • The code is commented OR not applicable/necessary.
  • The patch is formatted via clang-format OR not applicable (if explicitly overridden leave unchecked and explain).
  • There are test cases for the code you added or modified OR no such test cases are required.

@mishok2503 mishok2503 force-pushed the mishok2503/externalAsmCall branch from 1e97d5e to 077dc19 Compare July 1, 2022 15:41
@mishok2503 mishok2503 force-pushed the mishok2503/externalAsmCall branch from 077dc19 to d76a384 Compare July 2, 2022 15:46
@sava-cska sava-cska closed this Jul 28, 2022
@sava-cska sava-cska deleted the mishok2503/externalAsmCall branch July 28, 2022 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants