Skip to content

Commit dcdf591

Browse files
committed
resolve some comments
1 parent d1ca593 commit dcdf591

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4068,8 +4068,7 @@ unsigned X86AsmParser::checkTargetMatchPredicate(MCInst &Inst) {
40684068

40694069
if (UseApxExtendedReg && !X86II::canUseApxExtendedReg(MCID))
40704070
return Match_Unsupported;
4071-
if (ForcedNoFlag != !!(MCID.TSFlags & X86II::EVEX_NF) &&
4072-
!X86::isCFCMOVCC(Opc))
4071+
if (ForcedNoFlag == !(MCID.TSFlags & X86II::EVEX_NF) && !X86::isCFCMOVCC(Opc))
40734072
return Match_Unsupported;
40744073

40754074
if (ForcedVEXEncoding == VEXEncoding_EVEX &&

llvm/test/MC/Disassembler/X86/apx/reverse-encoding.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,6 @@
433433

434434
## cfcmov
435435

436-
# ATT: cfcmovbeq %r15, %r9
437-
# INTEL: cfcmovbe r9, r15
438-
0x62,0x54,0xfc,0x0c,0x46,0xf9
436+
# ATT: cfcmovbeq %r16, %r17
437+
# INTEL: cfcmovbe r17, r16
438+
0x62,0xec,0xfc,0x0c,0x46,0xc1

0 commit comments

Comments
 (0)