llvm / llvm/llvm-project

[HLSL][LongVec] Add Modf long vector support

Open Beginner friendly
#220,656 0 comments 0 reactions 0 assignees View on GitHub
HLSL
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

I predict this will be super easy once the intrinsic is implemented as it should just be adding `let VaryingLongVector = 1;` to `clang/include/clang/Basic/HLSLIntrinsics.td`

Contributor guide

Open the contributing guide

Research direction

Start in clang/include/clang/Basic/HLSLIntrinsics.td and locate the Modf intrinsic definition. Confirm how long-vector support is represented there, then verify that Modf accepts long vectors as intended; the issue does not name a specific test to run.

Written by the indexing model from the issue text.

Assessment

Domain
compilers
Issue type
Feature
Difficulty
1/5
Estimated time
Under an hour
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
88/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.