From 03aa8f3a245e5e7a3aa81617aa4637af33c2213c Mon Sep 17 00:00:00 2001 From: Krzysztof Parzyszek Date: Tue, 19 Jun 2018 18:09:54 +0000 Subject: [Hexagon] Fix the value of HexagonII::TypeCVI_FIRST This value is the first vector instruction type in numerical order. The previous value was incorrect, leaving TypeCVI_GATHER outside of the range for vector instructions. This caused vector .new instructions to be incorrectly encoded in the presence of gather. llvm-svn: 335065 --- llvm/lib/Target/Hexagon/MCTargetDesc/HexagonBaseInfo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Target') diff --git a/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonBaseInfo.h b/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonBaseInfo.h index f5a37603375..cb504b5c3d5 100644 --- a/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonBaseInfo.h +++ b/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonBaseInfo.h @@ -25,7 +25,7 @@ namespace llvm { /// HexagonII - This namespace holds all of the target specific flags that /// instruction info tracks. namespace HexagonII { - unsigned const TypeCVI_FIRST = TypeCVI_HIST; + unsigned const TypeCVI_FIRST = TypeCVI_4SLOT_MPY; unsigned const TypeCVI_LAST = TypeCVI_VX_LATE; enum SubTarget { -- cgit v1.2.3