summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 54543af)
raw | patch | inline | side by side (parent: 54543af)
author | Sanjay Patel <spatel@rotateright.com> | |
Fri, 5 Sep 2014 20:55:46 +0000 (20:55 +0000) | ||
committer | Sanjay Patel <spatel@rotateright.com> | |
Fri, 5 Sep 2014 20:55:46 +0000 (20:55 +0000) |
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217278 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp | patch | blob | history |
index 3714aeb65ca9119acc26b1447a5343cd94522743..5d95af69fabf38a8fda136a664ac2339b0a35036 100644 (file)
}
}
-// isSetCCEquivalent - Return true if this node is a setcc, or is a select_cc
+// Return true if this node is a setcc, or is a select_cc
// that selects between the target values used for true and false, making it
// equivalent to a setcc. Also, set the incoming LHS, RHS, and CC references to
// the appropriate nodes based on the type of node we are checking. This
if (isa<ConstantSDNode>(N))
return N.getNode();
BuildVectorSDNode *BV = dyn_cast<BuildVectorSDNode>(N);
- if(BV && BV->isConstant())
+ if (BV && BV->isConstant())
return BV;
return nullptr;
}