Skip to content

Commit bf44593

Browse files
committed
clang format
1 parent adf8897 commit bf44593

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1134,18 +1134,18 @@ static int getInstructionIDWithAttrMask(uint16_t *instructionID,
11341134
return 0;
11351135
}
11361136

1137-
static bool isNFnotMap4(InternalInstruction *insn){
1138-
// Promoted BMI instrs below has nf version.
1139-
if (insn->opcodeType == THREEBYTE_38 &&
1140-
ppFromXOP3of3(insn->vectorExtensionPrefix[2]) == VEX_PREFIX_NONE) {
1141-
switch (insn->opcode) {
1142-
case 0xf2: // ANDN
1143-
case 0xf3: // BLSI, BLSR, BLSMSK
1144-
case 0xf5: // BZHI
1145-
case 0xf7: // BEXTR
1146-
return true;
1137+
static bool isNFnotMap4(InternalInstruction *insn) {
1138+
// Promoted BMI instrs below has nf version.
1139+
if (insn->opcodeType == THREEBYTE_38 &&
1140+
ppFromXOP3of3(insn->vectorExtensionPrefix[2]) == VEX_PREFIX_NONE) {
1141+
switch (insn->opcode) {
1142+
case 0xf2: // ANDN
1143+
case 0xf3: // BLSI, BLSR, BLSMSK
1144+
case 0xf5: // BZHI
1145+
case 0xf7: // BEXTR
1146+
return true;
1147+
}
11471148
}
1148-
}
11491149
return false;
11501150
}
11511151

0 commit comments

Comments
 (0)