[llvm-commits] [llvm] r116333 -	/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
    Eric Christopher 
    echristo at apple.com
       
    Tue Oct 12 12:44:17 PDT 2010
    
    
  
Author: echristo
Date: Tue Oct 12 14:44:17 2010
New Revision: 116333
URL: http://llvm.org/viewvc/llvm-project?rev=116333&view=rev
Log:
Combine these together - should probably have some text associated
that says what why what we just asserted is wrong.
Modified:
    llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp?rev=116333&r1=116332&r2=116333&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Tue Oct 12 14:44:17 2010
@@ -7602,10 +7602,10 @@
 
   if (ArgMode == 2) {
     // Sanity Check: Make sure using fp_offset makes sense.
-    const Function *Fn = DAG.getMachineFunction().getFunction();
-    bool NoImplicitFloatOps = Fn->hasFnAttr(Attribute::NoImplicitFloat);
-    assert(!UseSoftFloat && !NoImplicitFloatOps && Subtarget->hasSSE1());
-    (void)NoImplicitFloatOps;
+    assert(!UseSoftFloat && 
+           !(DAG.getMachineFunction()
+                .getFunction()->hasFnAttr(Attribute::NoImplicitFloat)) &&
+           Subtarget->hasSSE1());
   }
 
   // Insert VAARG_64 node into the DAG
    
    
More information about the llvm-commits
mailing list