diff options
author | Gabor Greif <ggreif@gmail.com> | 2008-09-09 17:52:13 +0000 |
---|---|---|
committer | Gabor Greif <ggreif@gmail.com> | 2008-09-09 17:52:13 +0000 |
commit | ea79c3e7a0f08578b8dd05c6e1662eb9a43f7bba (patch) | |
tree | 0af58a202845956f2a222c7c9608359c0495007b | |
parent | e005aa13f1c572b4c2b22e56d2c34e279b344ccf (diff) | |
download | bcm5719-llvm-ea79c3e7a0f08578b8dd05c6e1662eb9a43f7bba.tar.gz bcm5719-llvm-ea79c3e7a0f08578b8dd05c6e1662eb9a43f7bba.zip |
fit in 80 cols, minor tweaks
llvm-svn: 55992
-rw-r--r-- | llvm/include/llvm/CodeGen/ValueTypes.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/llvm/include/llvm/CodeGen/ValueTypes.h b/llvm/include/llvm/CodeGen/ValueTypes.h index 10e54845a5b..f1b489ee3b3 100644 --- a/llvm/include/llvm/CodeGen/ValueTypes.h +++ b/llvm/include/llvm/CodeGen/ValueTypes.h @@ -29,7 +29,7 @@ namespace llvm { enum SimpleValueType { // If you change this numbering, you must change the values in - // ValueTypes.td well! + // ValueTypes.td as well! Other = 0, // This is a non-standard value i1 = 1, // This is a 1 bit integer value i8 = 2, // This is an 8 bit integer value @@ -103,10 +103,11 @@ namespace llvm { /// Extended types are either vector types or arbitrary precision integers. /// Arbitrary precision integers have iAny in the first SimpleTypeBits bits, /// and the bit-width in the next PrecisionBits bits, offset by minus one. - /// Vector types are encoded by having the first SimpleTypeBits+PrecisionBits - /// bits encode the vector element type (which must be a scalar type, possibly - /// an arbitrary precision integer) and the remaining VectorBits upper bits - /// encode the vector length, offset by one. + /// Vector types are encoded by having the first + /// SimpleTypeBits+PrecisionBits bits encode the vector element type + /// (which must be a scalar type, possibly an arbitrary precision integer) + /// and the remaining VectorBits upper bits encode the vector length, offset + /// by one. /// /// 32--------------16-----------8-------------0 /// | Vector length | Precision | Simple type | @@ -136,7 +137,7 @@ namespace llvm { public: MVT() {} - MVT(SimpleValueType S) { V = S; } + MVT(SimpleValueType S) : V(S) {} inline bool operator== (const MVT VT) const { return V == VT.V; } inline bool operator!= (const MVT VT) const { return V != VT.V; } |