aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/X86/X86InstrSGX.td
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/X86/X86InstrSGX.td')
-rw-r--r--lib/Target/X86/X86InstrSGX.td2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/X86/X86InstrSGX.td b/lib/Target/X86/X86InstrSGX.td
index 84119ad5eb359..f4331c5e2d932 100644
--- a/lib/Target/X86/X86InstrSGX.td
+++ b/lib/Target/X86/X86InstrSGX.td
@@ -15,6 +15,7 @@
//===----------------------------------------------------------------------===//
// SGX instructions
+let SchedRW = [WriteSystem] in {
// ENCLS - Execute an Enclave System Function of Specified Leaf Number
def ENCLS : I<0x01, MRM_CF, (outs), (ins),
"encls", []>, TB;
@@ -22,3 +23,4 @@ def ENCLS : I<0x01, MRM_CF, (outs), (ins),
// ENCLU - Execute an Enclave User Function of Specified Leaf Number
def ENCLU : I<0x01, MRM_D7, (outs), (ins),
"enclu", []>, TB;
+} // SchedRW