Skip to content

[HLSL] implement clamp intrinsic #70071

Closed
@llvm-beanz

Description

@llvm-beanz

Implement and expose the HLSL clamp intrinsic:

https://learn.microsoft.com/en-us/windows/win32/direct3dhlsl/dx-graphics-hlsl-clamp

AC:

  • intrinsic is implemented
  • Test to illustrate LLVM-IR generation

Metadata

Metadata

Assignees

Labels

HLSLHLSL Language Supportclang:codegenIR generation bugs: mangling, exceptions, etc.clang:frontendLanguage frontend issues, e.g. anything involving "Sema"

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions