Set to default: x86 no longer fold and into test if it has more than one use.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47711 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng 2008-02-28 07:46:38 +00:00
parent 643afa55e7
commit e526d8a955
2 changed files with 1 additions and 2 deletions

View File

@ -48,7 +48,7 @@ namespace {
static cl::opt<bool>
AlwaysFoldAndInTest("always-fold-and-in-test",
cl::desc("Always fold and operation in test"),
cl::init(true), cl::Hidden);
cl::init(false), cl::Hidden);
}
//===----------------------------------------------------------------------===//

View File

@ -1,6 +1,5 @@
; RUN: llvm-as < %s | llc -march=x86 -mcpu=yonah | grep {testl.*%e.x.*%e.x}
; rdar://5752025
; XFAIL: *
; We don't want to fold the and into the test, because the and clobbers its
; input forcing a copy. We want: