[llvm] r181759 - Fix typo.

Reed Kotler rkotler at mips.com
Mon May 13 23:00:01 PDT 2013


Author: rkotler
Date: Tue May 14 01:00:01 2013
New Revision: 181759

URL: http://llvm.org/viewvc/llvm-project?rev=181759&view=rev
Log:
Fix typo.


Modified:
    llvm/trunk/lib/Target/Mips/Mips16HardFloat.cpp

Modified: llvm/trunk/lib/Target/Mips/Mips16HardFloat.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/Mips16HardFloat.cpp?rev=181759&r1=181758&r2=181759&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/Mips16HardFloat.cpp (original)
+++ llvm/trunk/lib/Target/Mips/Mips16HardFloat.cpp Tue May 14 01:00:01 2013
@@ -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();





More information about the llvm-commits mailing list