aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/X86/X86InstrTSX.td
diff options
context:
space:
mode:
authorKevin Enderby <enderby@apple.com>2013-03-11 21:17:13 +0000
committerKevin Enderby <enderby@apple.com>2013-03-11 21:17:13 +0000
commit12dccaed9c0368f4f5ef4312c32b375c725c9daf (patch)
tree1fb4c73cba047529308c30884ddf8245b2fe175c /lib/Target/X86/X86InstrTSX.td
parentd5bb20805e03cff03bfa3f85f189cbc8fb4a769a (diff)
downloadexternal_llvm-12dccaed9c0368f4f5ef4312c32b375c725c9daf.zip
external_llvm-12dccaed9c0368f4f5ef4312c32b375c725c9daf.tar.gz
external_llvm-12dccaed9c0368f4f5ef4312c32b375c725c9daf.tar.bz2
Fixes disassembler crashes on 2013 Haswell RTM instructions.
rdar://13318048 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176828 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86InstrTSX.td')
-rw-r--r--lib/Target/X86/X86InstrTSX.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86InstrTSX.td b/lib/Target/X86/X86InstrTSX.td
index ad55058..a37a8cc 100644
--- a/lib/Target/X86/X86InstrTSX.td
+++ b/lib/Target/X86/X86InstrTSX.td
@@ -22,7 +22,7 @@ def XBEGIN : I<0, Pseudo, (outs GR32:$dst), (ins),
let isBranch = 1, isTerminator = 1, Defs = [EAX] in
def XBEGIN_4 : Ii32PCRel<0xc7, MRM_F8, (outs), (ins brtarget:$dst),
- "xbegin\t$dst", []>;
+ "xbegin\t$dst", []>, Requires<[HasRTM]>;
def XEND : I<0x01, MRM_D5, (outs), (ins),
"xend", [(int_x86_xend)]>, TB, Requires<[HasRTM]>;