From 375a68ca154fc8da6730ee64958dc661e5a2de38 Mon Sep 17 00:00:00 2001 From: Robert Khasanov Date: Thu, 21 Aug 2014 09:34:12 +0000 Subject: [PATCH] [x86] SMAP: added HasSMAP attribute for CLAC/STAC, corrected attributes git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216163 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86InstrSystem.td | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/X86/X86InstrSystem.td b/lib/Target/X86/X86InstrSystem.td index 540278021f0..92f8bae0479 100644 --- a/lib/Target/X86/X86InstrSystem.td +++ b/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; } -- 2.34.1