mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
[ARM, AArch64] Fix an assert message, Darwin isn't the only target supporting TLS. NFC.
llvm-svn: 318184
This commit is contained in:
parent
cd071125c2
commit
8a04e59b24
@ -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