forked from OSchip/llvm-project
[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
This commit is contained in:
parent
2a80437038
commit
b7e5909a42
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue