Is there any way to call a llvm intrinisc API which contains type like llvm_v4i1_ty?

Open
#989 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
rust
Domain
compilers

Research direction

The issue names no repository file, test, or entry point. Start by locating the intrinsic API implementation and its handling of llvm_v4i1_ty and llvm_v2i1_ty, then determine whether the project has an established representation for these types. Done cannot be defined from the issue because it asks for guidance rather than specifying a concrete change.

Written by the indexing model from the issue text.

Description

I'm studying rust and would like to contribute the intrinsic APIs implementation.
During the investigation, I find some llvm intrinsic APIs may contain types like llvm_v4i1_ty (4 bits), llvm_v2i1_ty (2 bits) for which I fail to find the corresponding types in Rust. What I learned Rust's type has 8 bits at least.
I'm a beginner of Rust and I have no idea how to solve such limitation. Does anyone have some suggestions?

Dominant language
Rust
Stars
694
Forks
336
Avg merge
5d 14h
Merged PRs (30d)
9

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from rust-lang/stdarch

All issues in rust-lang/stdarch

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.