diff options
Diffstat (limited to 'llvm/lib/Target/X86/X86InstrTSX.td')
| -rw-r--r-- | llvm/lib/Target/X86/X86InstrTSX.td | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/X86InstrTSX.td b/llvm/lib/Target/X86/X86InstrTSX.td index 28563eeb4484..7671eb4676ee 100644 --- a/llvm/lib/Target/X86/X86InstrTSX.td +++ b/llvm/lib/Target/X86/X86InstrTSX.td @@ -51,6 +51,8 @@ def XABORT : Ii8<0xc6, MRM_F8, (outs), (ins i8imm:$imm), // HLE prefixes let SchedRW = [WriteSystem] in { +// XACQUIRE and XRELEASE reuse REPNE and REP respectively. +// For now, just prefer the REP versions. let isAsmParserOnly = 1 in { def XACQUIRE_PREFIX : I<0xF2, PrefixByte, (outs), (ins), "xacquire", []>; def XRELEASE_PREFIX : I<0xF3, PrefixByte, (outs), (ins), "xrelease", []>; |
