Fix typo.
authorReed Kotler <rkotler@mips.com>
Tue, 14 May 2013 06:00:01 +0000 (06:00 +0000)
committerReed Kotler <rkotler@mips.com>
Tue, 14 May 2013 06:00:01 +0000 (06:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181759 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Mips/Mips16HardFloat.cpp

index e4ff4c49d62bcc42430f4e94d8c9ecc05667f1fa..cc7324f26efac05f5c2cb4b73c2abff31bdb5d5f 100644 (file)
@@ -241,7 +241,7 @@ static void swapFPIntParams
 static void assureFPCallStub(Function &F, Module *M,  
                              const MipsSubtarget &Subtarget){
   // for now we only need them for static relocation
-  if (!Subtarget.getRelocationModel() == Reloc::PIC_)
+  if (Subtarget.getRelocationModel() == Reloc::PIC_)
     return;
   LLVMContext &Context = M->getContext();
   bool LE = Subtarget.isLittle();