diff options
Diffstat (limited to 'llvm/lib/IR/Verifier.cpp')
-rw-r--r-- | llvm/lib/IR/Verifier.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/IR/Verifier.cpp b/llvm/lib/IR/Verifier.cpp index e89d8b0a9b5..91026c3b1b2 100644 --- a/llvm/lib/IR/Verifier.cpp +++ b/llvm/lib/IR/Verifier.cpp @@ -3145,6 +3145,9 @@ void Verifier::visitUnaryOperator(UnaryOperator &U) { Assert(U.getType()->isFPOrFPVectorTy(), "FNeg operator only works with float types!", &U); break; + case Instruction::Freeze: + // Freeze can take all kinds of types. + break; default: llvm_unreachable("Unknown UnaryOperator opcode!"); } |