Skip to content

[HLSL] Add -Gis option from DXC to clang-dxc #145589

@bob80905

Description

@bob80905

The dxc driver mode for clang, or clang-dxc.exe, needs to accept the -Gis compiler option, which dxc.exe accepts.
The -Gis compiler option enables IEEE strictness mode, constraining the behavior for NaNs and infs.
By enabling -Gis in clang-dxc, it will help to get more consistency across tests in the offload test suite that use these special float values for float16s.

Metadata

Metadata

Assignees

Labels

HLSLHLSL Language Supportclang:driver'clang' and 'clang++' user-facing binaries. Not 'clang-cl'

Type

No type

Projects

Status

Closed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions