summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2010-10-12 19:44:17 +0000
committerEric Christopher <echristo@apple.com>2010-10-12 19:44:17 +0000
commit604e142844b7eee7d995e04b9042904b3849d571 (patch)
tree336dfe19f6b0c6ebafc7702084145fe5c3738965
parent036855a0ed4d88eea36a064e51c3e2b20f8d1496 (diff)
downloadbcm5719-llvm-604e142844b7eee7d995e04b9042904b3849d571.tar.gz
bcm5719-llvm-604e142844b7eee7d995e04b9042904b3849d571.zip
Combine these together - should probably have some text associated
that says what why what we just asserted is wrong. llvm-svn: 116333
-rw-r--r--llvm/lib/Target/X86/X86ISelLowering.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp
index 8ed52158a27..a40413571c3 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -7602,10 +7602,10 @@ SDValue X86TargetLowering::LowerVAARG(SDValue Op, SelectionDAG &DAG) const {
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
OpenPOWER on IntegriCloud