mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-31 15:53:42 +00:00
[ARM, AArch64] Fix an assert message, Darwin isn't the only target supporting TLS. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@318184 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7f62a83c8d
commit
35b1f99e94
@ -3795,7 +3795,8 @@ SDValue AArch64TargetLowering::LowerGlobalAddress(SDValue Op,
|
||||
SDValue
|
||||
AArch64TargetLowering::LowerDarwinGlobalTLSAddress(SDValue Op,
|
||||
SelectionDAG &DAG) const {
|
||||
assert(Subtarget->isTargetDarwin() && "TLS only supported on Darwin");
|
||||
assert(Subtarget->isTargetDarwin() &&
|
||||
"This function expects a Darwin target");
|
||||
|
||||
SDLoc DL(Op);
|
||||
MVT PtrVT = getPointerTy(DAG.getDataLayout());
|
||||
|
@ -2763,7 +2763,8 @@ SDValue ARMTargetLowering::LowerBlockAddress(SDValue Op,
|
||||
SDValue
|
||||
ARMTargetLowering::LowerGlobalTLSAddressDarwin(SDValue Op,
|
||||
SelectionDAG &DAG) const {
|
||||
assert(Subtarget->isTargetDarwin() && "TLS only supported on Darwin");
|
||||
assert(Subtarget->isTargetDarwin() &&
|
||||
"This function expects a Darwin target");
|
||||
SDLoc DL(Op);
|
||||
|
||||
// First step is to get the address of the actua global symbol. This is where
|
||||
|
Loading…
x
Reference in New Issue
Block a user