[all-commits] [llvm/llvm-project] 4407cf: [HLSL] Vector Usual Arithmetic Conversions (#110195)
Chris B via All-commits
all-commits at lists.llvm.org
Fri Sep 27 13:47:43 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4407cf95d565ddba82d697e0ade58d64a0cc2ed7
https://github.com/llvm/llvm-project/commit/4407cf95d565ddba82d697e0ade58d64a0cc2ed7
Author: Chris B <chris.bieneman at me.com>
Date: 2024-09-27 (Fri, 27 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 (#110195)
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
Re-lands #108659
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