[all-commits] [llvm/llvm-project] 6cc013: Fix implicit conversion rank ordering (#106811)
Chris B via All-commits
all-commits at lists.llvm.org
Mon Sep 9 10:35:12 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6cc0138ca3dbdb21f4c4a5fa39cf05c38da4bb75
https://github.com/llvm/llvm-project/commit/6cc0138ca3dbdb21f4c4a5fa39cf05c38da4bb75
Author: Chris B <chris.bieneman at me.com>
Date: 2024-09-09 (Mon, 09 Sep 2024)
Changed paths:
M clang/include/clang/Sema/Overload.h
M clang/test/SemaHLSL/TruncationOverloadResolution.hlsl
Log Message:
-----------
Fix implicit conversion rank ordering (#106811)
DXC prefers dimension-preserving conversions over precision-losing
conversions. This means a double4 -> float4 conversion is preferred over
a double4 -> double3 or double4 -> double conversion.
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