@@ -6807,7 +6807,8 @@ Value *DxbcConverter::CastDxbcValue(Value *pValue, const CompType &SrcType, cons
6807
6807
return m_pBuilder->CreateBitCast (m_pBuilder->CreateSExt (pValue, Type::getInt16Ty (m_Ctx)), Type::getHalfTy (m_Ctx));
6808
6808
case CompType::Kind::F32:
6809
6809
return m_pBuilder->CreateBitCast (m_pBuilder->CreateSExt (pValue, Type::getInt32Ty (m_Ctx)), Type::getFloatTy (m_Ctx));
6810
- default : LLVM_FALLTHROUGH;
6810
+ default :
6811
+ break ;
6811
6812
}
6812
6813
break ;
6813
6814
@@ -6831,7 +6832,8 @@ Value *DxbcConverter::CastDxbcValue(Value *pValue, const CompType &SrcType, cons
6831
6832
pValue = m_pBuilder->CreateSExt (pValue, Type::getInt32Ty (m_Ctx));
6832
6833
return CreateBitCast (pValue, CompType::getI32 (), CompType::getF32 ());
6833
6834
}
6834
- default : LLVM_FALLTHROUGH;
6835
+ default :
6836
+ break ;
6835
6837
}
6836
6838
break ;
6837
6839
@@ -6855,7 +6857,8 @@ Value *DxbcConverter::CastDxbcValue(Value *pValue, const CompType &SrcType, cons
6855
6857
pValue = m_pBuilder->CreateZExt (pValue, Type::getInt32Ty (m_Ctx));
6856
6858
return CreateBitCast (pValue, CompType::getI32 (), CompType::getF32 ());
6857
6859
}
6858
- default : LLVM_FALLTHROUGH;
6860
+ default :
6861
+ break ;
6859
6862
}
6860
6863
break ;
6861
6864
@@ -6877,7 +6880,8 @@ Value *DxbcConverter::CastDxbcValue(Value *pValue, const CompType &SrcType, cons
6877
6880
}
6878
6881
case CompType::Kind::F32:
6879
6882
return CreateBitCast (pValue, CompType::getI32 (), CompType::getF32 ());
6880
- default : LLVM_FALLTHROUGH;
6883
+ default :
6884
+ break ;
6881
6885
}
6882
6886
break ;
6883
6887
@@ -6897,7 +6901,8 @@ Value *DxbcConverter::CastDxbcValue(Value *pValue, const CompType &SrcType, cons
6897
6901
}
6898
6902
case CompType::Kind::F32:
6899
6903
return m_pBuilder->CreateFPExt (pValue, Type::getFloatTy (m_Ctx));
6900
- default : LLVM_FALLTHROUGH;
6904
+ default :
6905
+ break ;
6901
6906
}
6902
6907
break ;
6903
6908
@@ -6917,11 +6922,13 @@ Value *DxbcConverter::CastDxbcValue(Value *pValue, const CompType &SrcType, cons
6917
6922
return CreateBitCast (pValue, CompType::getF32 (), CompType::getI32 ());
6918
6923
case CompType::Kind::F16:
6919
6924
return m_pBuilder->CreateFPTrunc (pValue, Type::getHalfTy (m_Ctx));
6920
- default : LLVM_FALLTHROUGH;
6925
+ default :
6926
+ break ;
6921
6927
}
6922
6928
break ;
6923
6929
6924
- default : LLVM_FALLTHROUGH;
6930
+ default :
6931
+ break ;
6925
6932
}
6926
6933
6927
6934
DXASSERT (false , " unsupported cast combination" );
@@ -7084,7 +7091,8 @@ CompType DxbcConverter::InferOperandType(const D3D10ShaderBinary::CInstruction &
7084
7091
}
7085
7092
}
7086
7093
7087
- default : LLVM_FALLTHROUGH;
7094
+ default :
7095
+ break ;
7088
7096
}
7089
7097
}
7090
7098
0 commit comments