[llvm] r216163 - [x86] SMAP: added HasSMAP attribute for CLAC/STAC, corrected attributes

Robert Khasanov rob.khasanov at gmail.com
Thu Aug 21 02:34:12 PDT 2014


Author: rkhasanov
Date: Thu Aug 21 04:34:12 2014
New Revision: 216163

URL: http://llvm.org/viewvc/llvm-project?rev=216163&view=rev
Log:
[x86] SMAP: added HasSMAP attribute for CLAC/STAC, corrected attributes

Modified:
    llvm/trunk/lib/Target/X86/X86InstrSystem.td

Modified: llvm/trunk/lib/Target/X86/X86InstrSystem.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86InstrSystem.td?rev=216163&r1=216162&r2=216163&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86InstrSystem.td (original)
+++ llvm/trunk/lib/Target/X86/X86InstrSystem.td Thu Aug 21 04:34:12 2014
@@ -563,7 +563,7 @@ def INVPCID64 : I<0x82, MRMSrcMem, (outs
 
 //===----------------------------------------------------------------------===//
 // 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;
 }





More information about the llvm-commits mailing list