summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRichard Osborne <richard@xmos.com>2014-02-25 17:31:06 +0000
committerRichard Osborne <richard@xmos.com>2014-02-25 17:31:06 +0000
commitfb2f73acb92da67b360244b12e0c655a078736e4 (patch)
treee3469e1eba6256b4d4cc0dfa28cd5d58f9840a18 /lib
parent57edc9d4ff1648568a5dd7e9958649065b260dca (diff)
downloadllvm-fb2f73acb92da67b360244b12e0c655a078736e4.tar.gz
llvm-fb2f73acb92da67b360244b12e0c655a078736e4.tar.bz2
llvm-fb2f73acb92da67b360244b12e0c655a078736e4.tar.xz
[XCore] Add intrinsic for EDU (event disable unconditional) instruction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202171 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/XCore/XCoreInstrInfo.td3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/XCore/XCoreInstrInfo.td b/lib/Target/XCore/XCoreInstrInfo.td
index 0aecca064f..2dd2fc1a7d 100644
--- a/lib/Target/XCore/XCoreInstrInfo.td
+++ b/lib/Target/XCore/XCoreInstrInfo.td
@@ -1013,7 +1013,8 @@ def SETEV_1r : _F1R<0b001111, (outs), (ins GRRegs:$a),
def DGETREG_1r : _F1R<0b001110, (outs GRRegs:$a), (ins), "dgetreg $a", []>;
-def EDU_1r : _F1R<0b000000, (outs), (ins GRRegs:$a), "edu res[$a]", []>;
+def EDU_1r : _F1R<0b000000, (outs), (ins GRRegs:$a), "edu res[$a]",
+ [(int_xcore_edu GRRegs:$a)]>;
def EEU_1r : _F1R<0b000001, (outs), (ins GRRegs:$a),
"eeu res[$a]",