namespace {
static cl::opt<bool>
- FoldAndInTest("x86-fold-and-in-test", cl::desc("Fold and operation in test"),
- cl::init(false), cl::Hidden);
+ AlwaysFoldAndInTest("always-fold-and-in-test",
+ cl::desc("Always fold and operation in test"),
+ cl::init(true), cl::Hidden);
}
//===----------------------------------------------------------------------===//
// An 'and' node with a single use.
def and_su : PatFrag<(ops node:$lhs, node:$rhs), (and node:$lhs, node:$rhs), [{
- return !FoldAndInTest || N->hasOneUse();
+ return AlwaysFoldAndInTest || N->hasOneUse();
}]>;
//===----------------------------------------------------------------------===//