summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanak@gmail.com>2011-03-30 21:15:35 +0000
committerAkira Hatanaka <ahatanak@gmail.com>2011-03-30 21:15:35 +0000
commit4e9ca1b3ba4f83de9819a60cb803b10c9a9d6a71 (patch)
tree009e7c8fde772f8525ff1010196885465d92eef8 /llvm
parent723cdf16fa82cbfe81d54261e813f359b37d82d4 (diff)
downloadbcm5719-llvm-4e9ca1b3ba4f83de9819a60cb803b10c9a9d6a71.tar.gz
bcm5719-llvm-4e9ca1b3ba4f83de9819a60cb803b10c9a9d6a71.zip
fixed typo
llvm-svn: 128574
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/Target/Mips/MipsISelLowering.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/Mips/MipsISelLowering.cpp b/llvm/lib/Target/Mips/MipsISelLowering.cpp
index 11a9f1a8bb9..85bdebd5307 100644
--- a/llvm/lib/Target/Mips/MipsISelLowering.cpp
+++ b/llvm/lib/Target/Mips/MipsISelLowering.cpp
@@ -197,7 +197,7 @@ unsigned MipsTargetLowering::getFunctionAlignment(const Function *) const {
// multHi/Lo: product of multiplication
// Lo0: initial value of Lo register
// Hi0: initial value of Hi register
-// Return true if mattern matching was successful.
+// Return true if pattern matching was successful.
static bool SelectMadd(SDNode* ADDENode, SelectionDAG* CurDAG) {
// ADDENode's second operand must be a flag output of an ADDC node in order
// for the matching to be successful.
@@ -271,7 +271,7 @@ static bool SelectMadd(SDNode* ADDENode, SelectionDAG* CurDAG) {
// multHi/Lo: product of multiplication
// Lo0: initial value of Lo register
// Hi0: initial value of Hi register
-// Return true if mattern matching was successful.
+// Return true if pattern matching was successful.
static bool SelectMsub(SDNode* SUBENode, SelectionDAG* CurDAG) {
// SUBENode's second operand must be a flag output of an SUBC node in order
// for the matching to be successful.
OpenPOWER on IntegriCloud