Attempt to pacify 4.8.5 with makeArrayRef

llvm-svn: 321233
This commit is contained in:
Reid Kleckner 2017-12-21 00:28:34 +00:00
parent 8f4976bb7b
commit 82b117f07f
1 changed files with 1 additions and 1 deletions

View File

@ -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 {