diff options
author | Cameron McInally <cameron.mcinally@nyu.edu> | 2019-10-07 20:41:25 +0000 |
---|---|---|
committer | Cameron McInally <cameron.mcinally@nyu.edu> | 2019-10-07 20:41:25 +0000 |
commit | 46d317fad4627c92a0289e886695a047ed886e27 (patch) | |
tree | 4ac4381e902f7fdd093a2e90780b347cc7e3c650 /llvm/lib/Bitcode/Writer | |
parent | 2b371fbeddc12617c51cd37dffb03e3cfeed9917 (diff) | |
download | bcm5719-llvm-46d317fad4627c92a0289e886695a047ed886e27.tar.gz bcm5719-llvm-46d317fad4627c92a0289e886695a047ed886e27.zip |
[Bitcode] Update naming of UNOP_NEG to UNOP_FNEG
Differential Revision: https://reviews.llvm.org/D68588
llvm-svn: 373958
Diffstat (limited to 'llvm/lib/Bitcode/Writer')
-rw-r--r-- | llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp index 2818e843b50..deb4019ea8b 100644 --- a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp +++ b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp @@ -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; } } |