Remove now unused function.

This commit is contained in:
Matt Pharr
2011-09-16 14:21:13 -07:00
parent cf9d9f717e
commit 38fc13d1ab

View File

@@ -670,17 +670,6 @@ IfStmt::emitMaskAllOn(FunctionEmitContext *ctx, llvm::Value *ltest,
}
/** Emits code that checks to see if for all of the lanes where the mask is
on, the test has the value true.
*/
static llvm::Value *
lTestMatchesMask(FunctionEmitContext *ctx, llvm::Value *test, llvm::Value *mask) {
llvm::Value *testAndMask = ctx->BinaryOperator(llvm::Instruction::And, test,
mask, "test&mask");
return ctx->MasksAllEqual(testAndMask, mask);
}
/** Emit code for an 'if' test where the lane mask is known to be mixed
on/off going into it.
*/