summaryrefslogtreecommitdiffstats
path: root/llvm/include
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/DerivedTypes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/DerivedTypes.h b/llvm/include/llvm/DerivedTypes.h
index 053091b86fe..e2737bd3c7c 100644
--- a/llvm/include/llvm/DerivedTypes.h
+++ b/llvm/include/llvm/DerivedTypes.h
@@ -431,7 +431,7 @@ public:
/// @brief Return the number of bits in the Vector type.
inline unsigned getBitWidth() const {
- return NumElements *getElementType()->getPrimitiveSizeInBits();
+ return NumElements * getElementType()->getPrimitiveSizeInBits();
}
// Implement the AbstractTypeUser interface.
OpenPOWER on IntegriCloud