[llvm] r321233 - Attempt to pacify 4.8.5 with makeArrayRef
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 20 16:28:34 PST 2017
Author: rnk
Date: Wed Dec 20 16:28:34 2017
New Revision: 321233
URL: http://llvm.org/viewvc/llvm-project?rev=321233&view=rev
Log:
Attempt to pacify 4.8.5 with makeArrayRef
Modified:
llvm/trunk/lib/Target/Hexagon/HexagonSubtarget.h
Modified: llvm/trunk/lib/Target/Hexagon/HexagonSubtarget.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Hexagon/HexagonSubtarget.h?rev=321233&r1=321232&r2=321233&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Hexagon/HexagonSubtarget.h (original)
+++ llvm/trunk/lib/Target/Hexagon/HexagonSubtarget.h Wed Dec 20 16:28:34 2017
@@ -206,7 +206,7 @@ public:
ArrayRef<MVT> getHVXElementTypes() const {
static MVT Types[] = { MVT::i8, MVT::i16, MVT::i32 };
- return Types;
+ return makeArrayRef(Types);
}
bool isHVXVectorType(MVT VecTy, bool IncludeBool = false) const {
More information about the llvm-commits
mailing list