File backport-llvm-r229658 of Package llvm
------------------------------------------------------------------------
r229658 | uweigand | 2015-02-18 10:42:23 +0100 (Wed, 18 Feb 2015) | 9 lines
[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]
------------------------------------------------------------------------
Index: lib/Target/SystemZ/SystemZISelLowering.cpp
===================================================================
--- lib/Target/SystemZ/SystemZISelLowering.cpp.orig
+++ lib/Target/SystemZ/SystemZISelLowering.cpp
@@ -1970,10 +1970,7 @@ SDValue SystemZTargetLowering::lowerGlob
Offset, MachinePointerInfo::getConstantPool(),
false, false, false, 0);
break;
- }
-
- default:
- llvm_unreachable("Unknown TLS model.");
+ }
}
// Add the base and offset together.