summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Writer
diff options
context:
space:
mode:
authorCameron McInally <cameron.mcinally@nyu.edu>2019-10-07 20:41:25 +0000
committerCameron McInally <cameron.mcinally@nyu.edu>2019-10-07 20:41:25 +0000
commit46d317fad4627c92a0289e886695a047ed886e27 (patch)
tree4ac4381e902f7fdd093a2e90780b347cc7e3c650 /llvm/lib/Bitcode/Writer
parent2b371fbeddc12617c51cd37dffb03e3cfeed9917 (diff)
downloadbcm5719-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.cpp2
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;
}
}
OpenPOWER on IntegriCloud