Skip to content

[HLSL] bitcasts emitted instead of vector conversions in binary operators #106253

@llvm-beanz

Description

@llvm-beanz

Clang currently is resolving different cast expressions for binary operator arguments than for function argument expressions. This causes bitcasts to be used instead of correct implicit conversion sequences.

See reproduction case: https://hlsl.godbolt.org/z/jKGcGbE4Y

This change will require the following:

Metadata

Metadata

Assignees

Labels

HLSLHLSL Language Supportclang: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