[Bitcode] Update naming of UNOP_NEG to UNOP_FNEG

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@373958 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Cameron McInally
2019-10-07 20:41:25 +00:00
parent 845ee44381
commit b538c2a07b
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;
}
}