projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67ad9db
)
Add comment.
author
Evan Cheng
<evan.cheng@apple.com>
Mon, 2 Feb 2009 08:19:07 +0000
(08:19 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Mon, 2 Feb 2009 08:19:07 +0000
(08:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63506
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86ISelLowering.cpp
b/lib/Target/X86/X86ISelLowering.cpp
index 7590c2e4da99b5c89f77c7a9e1a89ed0f88492bf..846acd02197949cbbe90e685181d2e686c7e55cd 100644
(file)
--- a/
lib/Target/X86/X86ISelLowering.cpp
+++ b/
lib/Target/X86/X86ISelLowering.cpp
@@
-5366,6
+5366,8
@@
static bool isAndOrOfSetCCs(SDValue Op, unsigned &Opc) {
Op.getOperand(1).hasOneUse());
}
+// isXor1OfSetCC - Return true if node is an ISD::XOR of a X86ISD::SETCC and
+// 1 and that the SETCC node has a single use.
static bool isXor1OfSetCC(SDValue Op) {
if (Op.getOpcode() != ISD::XOR)
return false;