[all-commits] [llvm/llvm-project] e82b26: [HLSL] Vector Usual Arithmetic Conversions (#108659)
Chris B via All-commits
all-commits at lists.llvm.org
Thu Sep 26 16:58:19 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e82b26a3d388594a8af5640cd8aa570f7ecda469
https://github.com/llvm/llvm-project/commit/e82b26a3d388594a8af5640cd8aa570f7ecda469
Author: Chris B <chris.bieneman at me.com>
Date: 2024-09-26 (Thu, 26 Sep 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Driver/Options.td
M clang/include/clang/Sema/Sema.h
M clang/include/clang/Sema/SemaHLSL.h
M clang/lib/Sema/SemaExpr.cpp
M clang/lib/Sema/SemaHLSL.cpp
A clang/test/SemaHLSL/Language/UsualArithmeticConversions.hlsl
Log Message:
-----------
[HLSL] Vector Usual Arithmetic Conversions (#108659)
HLSL has a different set of usual arithmetic conversions for vector
types to resolve a common type for binary operator expressions.
This PR implements the current spec proposal from:
https://github.com/microsoft/hlsl-specs/pull/311
There is one case that may need additional handling for implicitly
truncating `vector<T,1>` to `T` early to allow other transformations.
Fixes #106253
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list