commit | 2221de9cc18c0192619032454febe8e28b64f6ff | [log] [tgz] |
---|---|---|
author | Evan Cheng <evan.cheng@apple.com> | Thu Mar 16 22:02:48 2006 +0000 |
committer | Evan Cheng <evan.cheng@apple.com> | Thu Mar 16 22:02:48 2006 +0000 |
tree | 21942844e3cc9ef37712618a61b5dcc4ad61891a | |
parent | d1d6b5cce260808deeac0227b00f6f81a20b2c6f [diff] |
Bug fix: condition inverted. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26804 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index 148c7f8..5873716 100644 --- a/lib/Target/X86/X86ISelLowering.cpp +++ b/lib/Target/X86/X86ISelLowering.cpp
@@ -2214,7 +2214,7 @@ if (RModel == Reloc::Static) return true; else if (RModel == Reloc::DynamicNoPIC) - return DarwinGVRequiresExtraLoad(GV); + return !DarwinGVRequiresExtraLoad(GV); else return false; } else