[llvm-commits] [llvm] r63506 - /llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Evan Cheng
evan.cheng at apple.com
Mon Feb 2 00:19:07 PST 2009
Author: evancheng
Date: Mon Feb 2 02:19:07 2009
New Revision: 63506
URL: http://llvm.org/viewvc/llvm-project?rev=63506&view=rev
Log:
Add comment.
Modified:
llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp?rev=63506&r1=63505&r2=63506&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Mon Feb 2 02:19:07 2009
@@ -5366,6 +5366,8 @@
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;
More information about the llvm-commits
mailing list