[llvm] r283582 - [Hexagon][NFC] Using documented instruction type name V4LDST instead of MEMOP.
Colin LeMahieu via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 7 12:11:28 PDT 2016
Author: colinl
Date: Fri Oct 7 14:11:28 2016
New Revision: 283582
URL: http://llvm.org/viewvc/llvm-project?rev=283582&view=rev
Log:
[Hexagon][NFC] Using documented instruction type name V4LDST instead of MEMOP.
Modified:
llvm/trunk/lib/Target/Hexagon/HexagonInstrFormatsV4.td
llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonBaseInfo.h
llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonShuffler.cpp
Modified: llvm/trunk/lib/Target/Hexagon/HexagonInstrFormatsV4.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Hexagon/HexagonInstrFormatsV4.td?rev=283582&r1=283581&r2=283582&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Hexagon/HexagonInstrFormatsV4.td (original)
+++ llvm/trunk/lib/Target/Hexagon/HexagonInstrFormatsV4.td Fri Oct 7 14:11:28 2016
@@ -17,7 +17,7 @@
// *** Must match BaseInfo.h ***
//----------------------------------------------------------------------------//
-def TypeMEMOP : IType<9>;
+def TypeV4LDST : IType<9>;
def TypeNV : IType<10>;
def TypeDUPLEX : IType<11>;
def TypeCOMPOUND : IType<12>;
@@ -132,7 +132,7 @@ class NCJInst<dag outs, dag ins, string
let mayLoad = 1, mayStore = 1 in
class MEMInst<dag outs, dag ins, string asmstr, list<dag> pattern = [],
string cstr = "", InstrItinClass itin = V4LDST_tc_st_SLOT0>
- : InstHexagon<outs, ins, asmstr, pattern, cstr, itin, TypeMEMOP>,
+ : InstHexagon<outs, ins, asmstr, pattern, cstr, itin, TypeV4LDST>,
OpcodeHexagon;
class MEMInst_V4<dag outs, dag ins, string asmstr, list<dag> pattern = [],
Modified: llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonBaseInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonBaseInfo.h?rev=283582&r1=283581&r2=283582&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonBaseInfo.h (original)
+++ llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonBaseInfo.h Fri Oct 7 14:11:28 2016
@@ -41,7 +41,7 @@ namespace HexagonII {
TypeST = 6,
TypeSYSTEM = 7,
TypeXTYPE = 8,
- TypeMEMOP = 9,
+ TypeV4LDST = 9,
TypeNV = 10,
TypeDUPLEX = 11,
TypeCOMPOUND = 12,
Modified: llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonShuffler.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonShuffler.cpp?rev=283582&r1=283581&r2=283582&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonShuffler.cpp (original)
+++ llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonShuffler.cpp Fri Oct 7 14:11:28 2016
@@ -244,7 +244,7 @@ bool HexagonShuffler::check() {
if (ISJ->Core.getUnits() == slotSingleStore)
++store0;
break;
- case HexagonII::TypeMEMOP:
+ case HexagonII::TypeV4LDST:
++loads;
++stores;
++store1;
More information about the llvm-commits
mailing list