mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-02 09:49:09 +00:00
silence warning in release-asserts build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68253 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
23e97b05da
commit
5867de1243
@ -4869,8 +4869,6 @@ X86TargetLowering::LowerGlobalTLSAddress(SDValue Op, SelectionDAG &DAG) {
|
||||
case TLSModel::InitialExec: // not implemented
|
||||
case TLSModel::LocalExec: // not implemented
|
||||
return LowerToTLSGeneralDynamicModel64(GA, DAG, getPointerTy());
|
||||
default:
|
||||
assert (0 && "Unknown TLS model");
|
||||
}
|
||||
} else {
|
||||
switch (model) {
|
||||
@ -4881,10 +4879,10 @@ X86TargetLowering::LowerGlobalTLSAddress(SDValue Op, SelectionDAG &DAG) {
|
||||
case TLSModel::InitialExec:
|
||||
case TLSModel::LocalExec:
|
||||
return LowerToTLSExecModel(GA, DAG, getPointerTy(), model);
|
||||
default:
|
||||
assert (0 && "Unknown TLS model");
|
||||
}
|
||||
}
|
||||
assert(0 && "Unreachable");
|
||||
return SDValue();
|
||||
}
|
||||
|
||||
SDValue
|
||||
|
Loading…
Reference in New Issue
Block a user