[Bitcode] Update naming of UNOP_NEG to UNOP_FNEG

Differential Revision: https://reviews.llvm.org/D68588

llvm-svn: 373958
This commit is contained in:
Cameron McInally
2019-10-07 20:41:25 +00:00
parent 2b371fbedd
commit 46d317fad4
3 changed files with 3 additions and 3 deletions

View File

@@ -520,7 +520,7 @@ static unsigned getEncodedCastOpcode(unsigned Opcode) {
static unsigned getEncodedUnaryOpcode(unsigned Opcode) {
switch (Opcode) {
default: llvm_unreachable("Unknown binary instruction!");
case Instruction::FNeg: return bitc::UNOP_NEG;
case Instruction::FNeg: return bitc::UNOP_FNEG;
}
}