]> granicus.if.org Git - llvm/commitdiff
[X86] Change VMPTRST to use PS instead of TB to match VMPTRLD.
authorCraig Topper <craig.topper@intel.com>
Mon, 23 Oct 2017 16:22:40 +0000 (16:22 +0000)
committerCraig Topper <craig.topper@intel.com>
Mon, 23 Oct 2017 16:22:40 +0000 (16:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316340 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86InstrVMX.td

index 315a69e6a2a245d70f063dde21f141161eb9dd02..273ad24e84ba42fae20d0e3333fb600974f0c478 100644 (file)
@@ -42,7 +42,7 @@ def VMRESUME : I<0x01, MRM_C3, (outs), (ins), "vmresume", []>, TB;
 def VMPTRLDm : I<0xC7, MRM6m, (outs), (ins i64mem:$vmcs),
   "vmptrld\t$vmcs", []>, PS;
 def VMPTRSTm : I<0xC7, MRM7m, (outs), (ins i64mem:$vmcs),
-  "vmptrst\t$vmcs", []>, TB;
+  "vmptrst\t$vmcs", []>, PS;
 def VMREAD64rr : I<0x78, MRMDestReg, (outs GR64:$dst), (ins GR64:$src),
   "vmread{q}\t{$src, $dst|$dst, $src}", []>, PS, Requires<[In64BitMode]>;
 def VMREAD32rr : I<0x78, MRMDestReg, (outs GR32:$dst), (ins GR32:$src),