projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f4976b
)
Attempt to pacify 4.8.5 with makeArrayRef
author
Reid Kleckner
<rnk@google.com>
Thu, 21 Dec 2017 00:28:34 +0000
(
00:28
+0000)
committer
Reid Kleckner
<rnk@google.com>
Thu, 21 Dec 2017 00:28:34 +0000
(
00:28
+0000)
llvm-svn: 321233
llvm/lib/Target/Hexagon/HexagonSubtarget.h
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/Hexagon/HexagonSubtarget.h
b/llvm/lib/Target/Hexagon/HexagonSubtarget.h
index 0b4333c1bfcfbec7873af2a06094b6bd6ca4044a..af93f20d97fc3ce536fea1e8f1c8ff3b6b6b10db 100644
(file)
--- a/
llvm/lib/Target/Hexagon/HexagonSubtarget.h
+++ b/
llvm/lib/Target/Hexagon/HexagonSubtarget.h
@@
-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 {