[llvm] r327841 - [NFC] Fix minor typos in comments
Karl-Johan Karlsson via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 19 06:48:40 PDT 2018
Author: karka
Date: Mon Mar 19 06:48:40 2018
New Revision: 327841
URL: http://llvm.org/viewvc/llvm-project?rev=327841&view=rev
Log:
[NFC] Fix minor typos in comments
Modified:
llvm/trunk/include/llvm/CodeGen/MachineValueType.h
llvm/trunk/include/llvm/CodeGen/ValueTypes.td
Modified: llvm/trunk/include/llvm/CodeGen/MachineValueType.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/MachineValueType.h?rev=327841&r1=327840&r2=327841&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/MachineValueType.h (original)
+++ llvm/trunk/include/llvm/CodeGen/MachineValueType.h Mon Mar 19 06:48:40 2018
@@ -378,7 +378,7 @@ namespace llvm {
SimpleTy == MVT::v16i64);
}
- /// Return true if this is a 1024-bit vector type.
+ /// Return true if this is a 2048-bit vector type.
bool is2048BitVector() const {
return (SimpleTy == MVT::v256i8 || SimpleTy == MVT::v128i16 ||
SimpleTy == MVT::v64i32 || SimpleTy == MVT::v32i64);
Modified: llvm/trunk/include/llvm/CodeGen/ValueTypes.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/ValueTypes.td?rev=327841&r1=327840&r2=327841&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/ValueTypes.td (original)
+++ llvm/trunk/include/llvm/CodeGen/ValueTypes.td Mon Mar 19 06:48:40 2018
@@ -69,7 +69,7 @@ def v4i32 : ValueType<128, 43>; // 4
def v8i32 : ValueType<256, 44>; // 8 x i32 vector value
def v16i32 : ValueType<512, 45>; // 16 x i32 vector value
def v32i32 : ValueType<1024,46>; // 32 x i32 vector value
-def v64i32 : ValueType<2048,47>; // 32 x i32 vector value
+def v64i32 : ValueType<2048,47>; // 64 x i32 vector value
def v1i64 : ValueType<64 , 48>; // 1 x i64 vector value
def v2i64 : ValueType<128, 49>; // 2 x i64 vector value
More information about the llvm-commits
mailing list