llvm-project
llvm-project copied to clipboard
[HLSL] fmod is not restricting vector size
This is in continuation of issue #129003.
We are currently not restricting vector sizes for the fmod intrinsic.
https://github.com/llvm/llvm-project/blob/9d7e1d92dbef5aa4d11deed360685a86935953d2/clang/lib/Headers/hlsl/hlsl_intrinsics.h#L137-L146
We need to exclude vec1s and limit to vec4s, similar to how PR #130724 does it.