[PATCH] D29290: [X86][Tablegen] Marking the RSM instruction as defining EFLAGS
Chris Ray via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 30 09:43:27 PST 2017
cray created this revision.
Repository:
rL LLVM
https://reviews.llvm.org/D29290
Files:
lib/Target/X86/X86InstrSystem.td
Index: lib/Target/X86/X86InstrSystem.td
===================================================================
--- lib/Target/X86/X86InstrSystem.td
+++ lib/Target/X86/X86InstrSystem.td
@@ -28,8 +28,10 @@
def UD2B : I<0xB9, RawFrm, (outs), (ins), "ud2b", []>, TB;
}
-def HLT : I<0xF4, RawFrm, (outs), (ins), "hlt", [], IIC_HLT>;
-def RSM : I<0xAA, RawFrm, (outs), (ins), "rsm", [], IIC_RSM>, TB;
+def HLT : I<0xF4, RawFrm, (outs), (ins), "hlt", [], IIC_HLT>;
+
+let Defs = [EFLAGS] in
+ def RSM : I<0xAA, RawFrm, (outs), (ins), "rsm", [], IIC_RSM>, TB;
// Interrupt and SysCall Instructions.
let Uses = [EFLAGS] in
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29290.86305.patch
Type: text/x-patch
Size: 628 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170130/a6978a85/attachment.bin>
More information about the llvm-commits
mailing list