summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
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/Reader/BitcodeReader.cpp
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/Reader/BitcodeReader.cpp')
-rw-r--r--llvm/lib/Bitcode/Reader/BitcodeReader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
index 9c377552b4a..bd1115f238b 100644
--- a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
+++ b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
@@ -1063,7 +1063,7 @@ static int getDecodedUnaryOpcode(unsigned Val, Type *Ty) {
switch (Val) {
default:
return -1;
- case bitc::UNOP_NEG:
+ case bitc::UNOP_FNEG:
return IsFP ? Instruction::FNeg : -1;
}
}
OpenPOWER on IntegriCloud