summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlrich Weigand <ulrich.weigand@de.ibm.com>2015-02-18 09:42:23 +0000
committerUlrich Weigand <ulrich.weigand@de.ibm.com>2015-02-18 09:42:23 +0000
commitb7e5909a42cb7405c1ec2cc2728bf199497d849b (patch)
tree5c031272caaa6db940af00914315e8587e326bdb
parent2a80437038aba26cedfc75a117ff28f7db50f08b (diff)
downloadbcm5719-llvm-b7e5909a42cb7405c1ec2cc2728bf199497d849b.tar.gz
bcm5719-llvm-b7e5909a42cb7405c1ec2cc2728bf199497d849b.zip
[SystemZ] Clean up warning
Removed (unreachable) default case in switch to clean up warning: lib/Target/SystemZ/SystemZISelLowering.cpp:1974:5: error: default label in switch which covers all enumeration values [-Werror,-Wcovered-switch-default] llvm-svn: 229658
-rw-r--r--llvm/lib/Target/SystemZ/SystemZISelLowering.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp b/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
index d92ad6a0054..3847187b2ef 100644
--- a/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
+++ b/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
@@ -1969,10 +1969,7 @@ SDValue SystemZTargetLowering::lowerGlobalTLSAddress(GlobalAddressSDNode *Node,
Offset, MachinePointerInfo::getConstantPool(),
false, false, false, 0);
break;
- }
-
- default:
- llvm_unreachable("Unknown TLS model.");
+ }
}
// Add the base and offset together.
OpenPOWER on IntegriCloud