diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-02-02 08:19:07 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-02-02 08:19:07 +0000 |
commit | 961d6d4ac07fedc37b6dadc00e5be54aa720c224 (patch) | |
tree | 22fe091c8c195d3b3d82aa9e4a3522037b3a5097 | |
parent | 67ad9db15b474a667f09eea5e32955a910c09e32 (diff) |
Add comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63506 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/X86/X86ISelLowering.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index 7590c2e4da..846acd0219 100644 --- 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; |