Poorly named option.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47400 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng
2008-02-20 20:57:32 +00:00
parent c927cc8731
commit 3738f2d59f
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -46,8 +46,9 @@ STATISTIC(NumLoadMoved, "Number of loads moved below TokenFactor");
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);
}
//===----------------------------------------------------------------------===//
+1 -1
View File
@@ -248,7 +248,7 @@ def extloadi32i16 : PatFrag<(ops node:$ptr), (i32 (extloadi16 node:$ptr))>;
// 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();
}]>;
//===----------------------------------------------------------------------===//