intel / intel/llvm

Attach calling convention to `llvm.call` operations when lowering

Open
#11,894 0 comments 0 reactions 1 assignee Claimed by @victor-eds View on GitHub
enhancement sycl-mlir
Dominant language
LLVM
Stars
1.5k
Forks
854
Avg merge
3d 17h
Merged PRs (30d)
137

Description

**Is your feature request related to a problem? Please describe**

`llvm.call` now supports calling convention attributes. SYCL-MLIR was circumventing the lack of such attributes by taking the callee function calling convention. However, this would not work, e.g., for indirect calls.

**Describe the solution you would like**

Now that `llvm.call` supports calling convention attributes, attach them during conversion instead of taking the function calling convention when translating to LLVM IR.

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.