summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2015-06-18 15:53:33 +0000
committerSanjay Patel <spatel@rotateright.com>2015-06-18 15:53:33 +0000
commit8730ef78f83f55328a36cd646d458835e7d34ef5 (patch)
tree781db3af51164d152bc3373e78eec565515c37ab /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
parent47721ac75d8b14dc09cbc6ee1906c1319610a4d1 (diff)
downloadbcm5719-llvm-8730ef78f83f55328a36cd646d458835e7d34ef5.tar.gz
bcm5719-llvm-8730ef78f83f55328a36cd646d458835e7d34ef5.zip
fix typo; NFC
llvm-svn: 240022
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index 98eb8bf487f..566c9a0c932 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@ -4025,10 +4025,10 @@ static bool isMemSrcFromString(SDValue Src, StringRef &Str) {
return getConstantStringInfo(G->getGlobal(), Str, SrcDelta, false);
}
-/// FindOptimalMemOpLowering - Determines the optimial series memory ops
-/// to replace the memset / memcpy. Return true if the number of memory ops
-/// is below the threshold. It returns the types of the sequence of
-/// memory ops to perform memset / memcpy by reference.
+/// Determines the optimal series of memory ops to replace the memset / memcpy.
+/// Return true if the number of memory ops is below the threshold (Limit).
+/// It returns the types of the sequence of memory ops to perform
+/// memset / memcpy by reference.
static bool FindOptimalMemOpLowering(std::vector<EVT> &MemOps,
unsigned Limit, uint64_t Size,
unsigned DstAlign, unsigned SrcAlign,
OpenPOWER on IntegriCloud