summaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/LegalizeTypes.h
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2011-08-31 20:13:26 +0000
committerEli Friedman <eli.friedman@gmail.com>2011-08-31 20:13:26 +0000
commitfcd75e5efb482f35cfc22fd4b64e047930130fd6 (patch)
tree334fe23a6a17c7ab3e0ac5f23db117b64a5f64f8 /lib/CodeGen/SelectionDAG/LegalizeTypes.h
parentd84192fe4f6495e43ee0ff2ac591c14ba36e1e9d (diff)
downloadllvm-fcd75e5efb482f35cfc22fd4b64e047930130fd6.tar.gz
llvm-fcd75e5efb482f35cfc22fd4b64e047930130fd6.tar.bz2
llvm-fcd75e5efb482f35cfc22fd4b64e047930130fd6.tar.xz
Misc cleanup; addresses Duncan's comments on r138877.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138887 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/LegalizeTypes.h')
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeTypes.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/lib/CodeGen/SelectionDAG/LegalizeTypes.h b/lib/CodeGen/SelectionDAG/LegalizeTypes.h
index 23430030e6..6c1226271b 100644
--- a/lib/CodeGen/SelectionDAG/LegalizeTypes.h
+++ b/lib/CodeGen/SelectionDAG/LegalizeTypes.h
@@ -149,10 +149,9 @@ private:
bool CustomLowerNode(SDNode *N, EVT VT, bool LegalizeResult);
bool CustomWidenLowerNode(SDNode *N, EVT VT);
- // DecomposeMERGE_VALUES takes a SDNode and returns the first
- // illegal operand that needs to be modified.
- // All other nodes are legalized, whether they are legal or not.
- // The resulting SDValue needs to be modified to make it legal.
+ // DecomposeMERGE_VALUES takes a SDNode and returns the first
+ // illegal value. All other results are replaced with the
+ // corresponding input operand.
SDValue DecomposeMERGE_VALUES(SDNode *N);
SDValue GetVectorElementPointer(SDValue VecPtr, EVT EltVT, SDValue Index);
@@ -162,9 +161,9 @@ private:
const SDValue *Ops, unsigned NumOps, bool isSigned,
DebugLoc dl);
- std::pair<SDValue, SDValue> ExpandChainLibCall(RTLIB::Libcall LC,
- SDNode *Node, bool isSigned);
- std::pair<SDValue, SDValue> ExpandAtomic(SDNode *Node);
+ std::pair<SDValue, SDValue> ExpandChainLibCall(RTLIB::Libcall LC,
+ SDNode *Node, bool isSigned);
+ std::pair<SDValue, SDValue> ExpandAtomic(SDNode *Node);
SDValue PromoteTargetBoolean(SDValue Bool, EVT VT);
void ReplaceValueWith(SDValue From, SDValue To);