mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
Remove some 'else' after 'return'. No functional change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155330 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a9963c648e
commit
e8eb116ff3
@ -1273,7 +1273,6 @@ static void getMaxByValAlign(Type *Ty, unsigned &MaxAlign) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
/// getByValTypeAlignment - Return the desired alignment for ByVal aggregate
|
||||
@ -7321,7 +7320,10 @@ X86TargetLowering::LowerGlobalTLSAddress(SDValue Op, SelectionDAG &DAG) const {
|
||||
return LowerToTLSExecModel(GA, DAG, getPointerTy(), model,
|
||||
Subtarget->is64Bit());
|
||||
}
|
||||
} else if (Subtarget->isTargetDarwin()) {
|
||||
llvm_unreachable("Unknown TLS model.");
|
||||
}
|
||||
|
||||
if (Subtarget->isTargetDarwin()) {
|
||||
// Darwin only has one model of TLS. Lower to that.
|
||||
unsigned char OpFlag = 0;
|
||||
unsigned WrapperKind = Subtarget->isPICStyleRIPRel() ?
|
||||
@ -7364,7 +7366,9 @@ X86TargetLowering::LowerGlobalTLSAddress(SDValue Op, SelectionDAG &DAG) const {
|
||||
unsigned Reg = Subtarget->is64Bit() ? X86::RAX : X86::EAX;
|
||||
return DAG.getCopyFromReg(Chain, DL, Reg, getPointerTy(),
|
||||
Chain.getValue(1));
|
||||
} else if (Subtarget->isTargetWindows()) {
|
||||
}
|
||||
|
||||
if (Subtarget->isTargetWindows()) {
|
||||
// Just use the implicit TLS architecture
|
||||
// Need to generate someting similar to:
|
||||
// mov rdx, qword [gs:abs 58H]; Load pointer to ThreadLocalStorage
|
||||
|
Loading…
Reference in New Issue
Block a user