aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>2011-08-12 21:54:42 +0000
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>2011-08-12 21:54:42 +0000
commit4002d7e1e6e049fe355c53ba5337f215952f2ba4 (patch)
treea406757de3bd4ab976a3118e17b6b90b0681e97c
parent91a44dd9ccd8ec3a10fa35315c381cffade91d5b (diff)
downloadexternal_llvm-4002d7e1e6e049fe355c53ba5337f215952f2ba4.zip
external_llvm-4002d7e1e6e049fe355c53ba5337f215952f2ba4.tar.gz
external_llvm-4002d7e1e6e049fe355c53ba5337f215952f2ba4.tar.bz2
Fix comment!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137521 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/X86/X86ISelLowering.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp
index 4c83a72..1ac5c2a 100644
--- a/lib/Target/X86/X86ISelLowering.cpp
+++ b/lib/Target/X86/X86ISelLowering.cpp
@@ -3035,9 +3035,9 @@ static bool isUndefOrEqual(int Val, int CmpVal) {
return false;
}
-/// isUndefOrInRange - Return true if every element in Mask, begining from
-/// position Pos and ending in Pos+Size, falls within the specified sequential
-/// range (L, L+Pos]. or is undef.
+/// isSequentialOrUndefInRange - Return true if every element in Mask, begining
+/// from position Pos and ending in Pos+Size, falls within the specified
+/// sequential range (L, L+Pos]. or is undef.
static bool isSequentialOrUndefInRange(const SmallVectorImpl<int> &Mask,
int Pos, int Size, int Low) {
for (int i = Pos, e = Pos+Size; i != e; ++i, ++Low)