summaryrefslogtreecommitdiff
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
commit52b45056b2dc9246f732aa9cf655b6b2cb355c93 (patch)
tree1a7326089e45ee57d217599d904a4d727999e70f
parent09203ac3dd5fe8a43a26aab589334ed7907afbf8 (diff)
downloadllvm-52b45056b2dc9246f732aa9cf655b6b2cb355c93.tar.gz
llvm-52b45056b2dc9246f732aa9cf655b6b2cb355c93.tar.bz2
llvm-52b45056b2dc9246f732aa9cf655b6b2cb355c93.tar.xz
Combine these together - should probably have some text associated
that says what why what we just asserted is wrong. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116333 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/X86/X86ISelLowering.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp
index 8ed52158a2..a40413571c 100644
--- a/lib/Target/X86/X86ISelLowering.cpp
+++ b/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