mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-10 22:43:53 +00:00
Bug fix: condition inverted.
llvm-svn: 26804
This commit is contained in:
parent
db35180b27
commit
0e1abe6e19
@ -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…
x
Reference in New Issue
Block a user