summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2016-05-11 14:41:30 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2016-05-11 14:41:30 +0000
commit610a4e916e5ceb01386d8602f928c7c00f362168 (patch)
tree561a3e1d734f1f902e5b17ed571d435680cbbb82 /llvm/lib/CodeGen
parent53276d1221e0c9409cd3f0f0da9f48e334fc30a5 (diff)
downloadbcm5719-llvm-610a4e916e5ceb01386d8602f928c7c00f362168.tar.gz
bcm5719-llvm-610a4e916e5ceb01386d8602f928c7c00f362168.zip
Merge two unreachable cases.
llvm-svn: 269189
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
index 9ddf20bc3c9..ca02e8ea9ce 100644
--- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
@@ -330,9 +330,8 @@ void AsmPrinter::EmitLinkage(const GlobalValue *GV, MCSymbol *GVSym) const {
case GlobalValue::InternalLinkage:
return;
case GlobalValue::AvailableExternallyLinkage:
- llvm_unreachable("Should never emit this");
case GlobalValue::ExternalWeakLinkage:
- llvm_unreachable("Don't know how to emit these");
+ llvm_unreachable("Should never emit this");
}
llvm_unreachable("Unknown linkage type!");
}
OpenPOWER on IntegriCloud