[clang] [HLSL] Implement HLSL Flat casting (excluding splat cases) (PR #118842)
Sarah Spall via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 22 13:08:01 PST 2025
================
@@ -1461,6 +1552,7 @@ static bool castPreservesZero(const CastExpr *CE) {
case CK_NonAtomicToAtomic:
case CK_AtomicToNonAtomic:
case CK_HLSLVectorTruncation:
+ case CK_HLSLAggregateCast: // TODO does CK_HLSLAggregateCast preserve zero?
----------------
spall wrote:
@llvm-beanz Does this cast preserve zero?
https://github.com/llvm/llvm-project/pull/118842
More information about the cfe-commits
mailing list