diff --git a/llvm/lib/YkIR/YkIRWriter.cpp b/llvm/lib/YkIR/YkIRWriter.cpp index 28bc8fccb3b89f..f3a101a8f9e739 100644 --- a/llvm/lib/YkIR/YkIRWriter.cpp +++ b/llvm/lib/YkIR/YkIRWriter.cpp @@ -106,6 +106,7 @@ enum CastKind { CastKindSIToFP = 3, CastKindFPExt = 4, CastKindFPToSI = 5, + CastKindBitCast = 6 }; // A predicate used in an integer comparison. @@ -1255,6 +1256,8 @@ class YkIRWriter { return CastKindTrunc; case Instruction::FPToSI: return CastKindFPToSI; + case Instruction::BitCast: + return CastKindBitCast; default: return nullopt; }