Skip to content

Add llvm convert vector to ldc.intrinsics#5160

Merged
thewilsonator merged 4 commits into
ldc-developers:masterfrom
gulugulubing:feature/llvm-convertvector
Jun 26, 2026
Merged

Add llvm convert vector to ldc.intrinsics#5160
thewilsonator merged 4 commits into
ldc-developers:masterfrom
gulugulubing:feature/llvm-convertvector

Conversation

@gulugulubing

Copy link
Copy Markdown
Contributor

Try to implement #5151:
Integer <-> Integer: sext/zext/trunc
Integer <-> Float: sitofp/uitofp/fptosi/fptoui
Float <-> Float: fpext/fptrunc

Based on signedness from D types and bit-width from LLVM types.

Comment thread runtime/druntime/src/ldc/intrinsics.di Outdated
Comment thread runtime/druntime/src/ldc/intrinsics.di Outdated
@thewilsonator thewilsonator merged commit 613fe94 into ldc-developers:master Jun 26, 2026
19 checks passed
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.

2 participants