mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-02 09:49:09 +00:00
Bug fix: condition inverted.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26804 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d1d6b5cce2
commit
2221de9cc1
@ -2214,7 +2214,7 @@ bool X86TargetLowering::isLegalAddressImmediate(GlobalValue *GV) const {
|
||||
if (RModel == Reloc::Static)
|
||||
return true;
|
||||
else if (RModel == Reloc::DynamicNoPIC)
|
||||
return DarwinGVRequiresExtraLoad(GV);
|
||||
return !DarwinGVRequiresExtraLoad(GV);
|
||||
else
|
||||
return false;
|
||||
} else
|
||||
|
Loading…
Reference in New Issue
Block a user