summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2013-09-24 04:37:50 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2013-09-24 04:37:50 +0000
commit788af10a8aef619616d59f5d58edd3a85286a67a (patch)
treefae56e4ceda66397848c8e82b8e060c7d7c1d9c3 /clang/lib/CodeGen
parent98f269f9d187d3faad40941e3e67a0c70fb99849 (diff)
downloadbcm5719-llvm-788af10a8aef619616d59f5d58edd3a85286a67a.tar.gz
bcm5719-llvm-788af10a8aef619616d59f5d58edd3a85286a67a.zip
CGBuiltin.cpp: Prune a stray default: label. [-Wcovered-switch-default]
llvm-svn: 191277
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r--clang/lib/CodeGen/CGBuiltin.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGBuiltin.cpp b/clang/lib/CodeGen/CGBuiltin.cpp
index 8945ce3aaa2..a08e5452535 100644
--- a/clang/lib/CodeGen/CGBuiltin.cpp
+++ b/clang/lib/CodeGen/CGBuiltin.cpp
@@ -1609,8 +1609,6 @@ static llvm::VectorType *GetNeonType(CodeGenFunction *CGF,
bool V1Ty=false) {
int IsQuad = TypeFlags.isQuad();
switch (TypeFlags.getEltType()) {
- default:
- llvm_unreachable("Invalid NeonTypeFlags element type!");
case NeonTypeFlags::Int8:
case NeonTypeFlags::Poly8:
return llvm::VectorType::get(CGF->Int8Ty, V1Ty ? 1 : (8 << IsQuad));
OpenPOWER on IntegriCloud