summaryrefslogtreecommitdiff
path: root/lib/Target/Hexagon/HexagonInstrFormats.td
diff options
context:
space:
mode:
authorJyotsna Verma <jverma@codeaurora.org>2013-05-10 20:27:34 +0000
committerJyotsna Verma <jverma@codeaurora.org>2013-05-10 20:27:34 +0000
commit1a35b8e2eb165624013d5a2eaf8b673f026999fc (patch)
tree7eae2722648cb2c06cbdaabb38fab7e8376fe001 /lib/Target/Hexagon/HexagonInstrFormats.td
parented9fc9b8eef60e6305d1ba0fedd57e5b2bce3476 (diff)
downloadllvm-1a35b8e2eb165624013d5a2eaf8b673f026999fc.tar.gz
llvm-1a35b8e2eb165624013d5a2eaf8b673f026999fc.tar.bz2
llvm-1a35b8e2eb165624013d5a2eaf8b673f026999fc.tar.xz
Hexagon: Fix switch cases in HexagonVLIWPacketizer.cpp.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181624 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Hexagon/HexagonInstrFormats.td')
-rw-r--r--lib/Target/Hexagon/HexagonInstrFormats.td2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/Hexagon/HexagonInstrFormats.td b/lib/Target/Hexagon/HexagonInstrFormats.td
index f97143ff01..e71386ada2 100644
--- a/lib/Target/Hexagon/HexagonInstrFormats.td
+++ b/lib/Target/Hexagon/HexagonInstrFormats.td
@@ -158,6 +158,7 @@ class InstHexagon<dag outs, dag ins, string asmstr, list<dag> pattern,
string CextOpcode = "";
string PredSense = "";
string PNewValue = "";
+ string NValueST = ""; // Set to "true" for new-value stores.
string InputType = ""; // Input is "imm" or "reg" type.
string isMEMri = "false"; // Set to "true" for load/store with MEMri operand.
string isFloat = "false"; // Set to "true" for the floating-point load/store.
@@ -166,6 +167,7 @@ class InstHexagon<dag outs, dag ins, string asmstr, list<dag> pattern,
let PredSense = !if(isPredicated, !if(isPredicatedFalse, "false", "true"),
"");
let PNewValue = !if(isPredicatedNew, "new", "");
+ let NValueST = !if(isNVStore, "true", "false");
// *** Must match MCTargetDesc/HexagonBaseInfo.h ***
}