diff options
| author | Sarah Spall <sarahspall@microsoft.com> | 2025-02-06 15:25:20 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-06 15:25:20 -0800 |
| commit | 14716f2e4b2d771af0fe9163540a8f08ffe1e5ec (patch) | |
| tree | 33b5b0efb28115249f25dab0938ba48f452616e8 /clang/lib/CodeGen/CGExprComplex.cpp | |
| parent | 163ccfac33201948eb430db6fac38d265958cfaa (diff) | |
Revert "[HLSL] Implement HLSL Flat casting (excluding splat cases)" (#126149)
Reverts llvm/llvm-project#118842
Diffstat (limited to 'clang/lib/CodeGen/CGExprComplex.cpp')
| -rw-r--r-- | clang/lib/CodeGen/CGExprComplex.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGExprComplex.cpp b/clang/lib/CodeGen/CGExprComplex.cpp index c2679ea92dc9..ac31dff11b58 100644 --- a/clang/lib/CodeGen/CGExprComplex.cpp +++ b/clang/lib/CodeGen/CGExprComplex.cpp @@ -610,7 +610,6 @@ ComplexPairTy ComplexExprEmitter::EmitCast(CastKind CK, Expr *Op, case CK_MatrixCast: case CK_HLSLVectorTruncation: case CK_HLSLArrayRValue: - case CK_HLSLElementwiseCast: llvm_unreachable("invalid cast kind for complex value"); case CK_FloatingRealToComplex: |
