llvm.org GIT mirror llvm / 56d749a
Mark XACQUIRE_PREFIX/XRELEASE_PREFIX as isAsmParserOnly so they'll disappear from the disassembler table build without custom filtering code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201215 91177308-0d34-0410-b5e6-96231b3b80d8 Craig Topper 6 years ago
2 changed file(s) with 3 addition(s) and 8 deletion(s). Raw diff Collapse all Expand all
3939
4040 // HLE prefixes
4141
42 let isAsmParserOnly = 1 in {
4243 def XACQUIRE_PREFIX : I<0xF2, RawFrm, (outs), (ins), "xacquire", []>, Requires<[HasHLE]>;
44 def XRELEASE_PREFIX : I<0xF3, RawFrm, (outs), (ins), "xrelease", []>, Requires<[HasHLE]>;
45 }
4346
44 def XRELEASE_PREFIX : I<0xF3, RawFrm, (outs), (ins), "xrelease", []>, Requires<[HasHLE]>;
45
412412 if (Name == "VMASKMOVDQU64")
413413 return FILTER_WEAK;
414414
415 // XACQUIRE and XRELEASE reuse REPNE and REP respectively.
416 // For now, just prefer the REP versions.
417 if (Name == "XACQUIRE_PREFIX" ||
418 Name == "XRELEASE_PREFIX")
419 return FILTER_WEAK;
420
421415 return FILTER_NORMAL;
422416 }
423417