summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorRobert Khasanov <rob.khasanov@gmail.com>2014-08-21 09:34:12 +0000
committerRobert Khasanov <rob.khasanov@gmail.com>2014-08-21 09:34:12 +0000
commit86ca6aaf400aa41b4a3c8f8fd18cf4669121a972 (patch)
tree7941e103c8f8a2e20ed41fca9cf04192a369bc75 /llvm/lib
parent7c5a843646da90e2a1c23c01005b39f163612981 (diff)
downloadbcm5719-llvm-86ca6aaf400aa41b4a3c8f8fd18cf4669121a972.tar.gz
bcm5719-llvm-86ca6aaf400aa41b4a3c8f8fd18cf4669121a972.zip
[x86] SMAP: added HasSMAP attribute for CLAC/STAC, corrected attributes
llvm-svn: 216163
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/X86/X86InstrSystem.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86InstrSystem.td b/llvm/lib/Target/X86/X86InstrSystem.td
index 540278021f0..92f8bae0479 100644
--- a/llvm/lib/Target/X86/X86InstrSystem.td
+++ b/llvm/lib/Target/X86/X86InstrSystem.td
@@ -563,7 +563,7 @@ def INVPCID64 : I<0x82, MRMSrcMem, (outs), (ins GR64:$src1, i128mem:$src2),
//===----------------------------------------------------------------------===//
// SMAP Instruction
-let Defs = [EFLAGS], Uses = [EFLAGS] in {
+let Predicates = [HasSMAP], Defs = [EFLAGS] in {
def CLAC : I<0x01, MRM_CA, (outs), (ins), "clac", []>, TB;
def STAC : I<0x01, MRM_CB, (outs), (ins), "stac", []>, TB;
}
OpenPOWER on IntegriCloud