Author: Farzon Lotfi
Date: 2026-02-11T22:26:48-05:00
New Revision: 46283ad29542fcb00f3c35c0d211ad0d4d648ea7

URL: 
https://github.com/llvm/llvm-project/commit/46283ad29542fcb00f3c35c0d211ad0d4d648ea7
DIFF: 
https://github.com/llvm/llvm-project/commit/46283ad29542fcb00f3c35c0d211ad0d4d648ea7.diff

LOG: [NFC][HLSL] Remove Dead code (#181060)

Added: 
    

Modified: 
    clang/lib/Sema/SemaOverload.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/Sema/SemaOverload.cpp b/clang/lib/Sema/SemaOverload.cpp
index 41b0b64409fd5..81edf966de9e7 100644
--- a/clang/lib/Sema/SemaOverload.cpp
+++ b/clang/lib/Sema/SemaOverload.cpp
@@ -2154,8 +2154,6 @@ static bool IsMatrixConversion(Sema &S, QualType 
FromType, QualType ToType,
     ElConv = ICK_HLSL_Matrix_Splat;
     QualType ToElTy = ToMatrixType->getElementType();
     return IsVectorOrMatrixElementConversion(S, FromType, ToElTy, ICK, From);
-    ICK = ICK_HLSL_Matrix_Splat;
-    return true;
   }
   if (FromMatrixType && !ToMatrixType) {
     ElConv = ICK_HLSL_Matrix_Truncation;


        
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to