Skip to content

Commit 2d7fc2f

Browse files
committed
clang format
1 parent bda8043 commit 2d7fc2f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

llvm/tools/llvm-exegesis/lib/AArch64/Target.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -180,14 +180,14 @@ Error ExegesisAArch64Target::randomizeTargetMCOperand(
180180
// MSL (Masking Shift Left) imm operand for 32-bit splatted SIMD constants
181181
// Correspond to AArch64InstructionSelector::tryAdvSIMDModImm321s()
182182
case llvm::AArch64::OPERAND_MSL_SHIFT: {
183-
// There are two valid encodings:
184-
// - Type 7: imm at [15:8], [47:40], shift = 264 (0x108) → msl #8
185-
// - Type 8: imm at [23:16], [55:48], shift = 272 (0x110) → msl #16
186-
// Corresponds AArch64_AM::encodeAdvSIMDModImmType7()
187-
// But, v2s_msl and v4s_msl instructions accept either form,
188-
// Thus, Arbitrarily chosing 264 (msl #8) for simplicity.
189-
AssignedValue = MCOperand::createImm(264);
190-
return Error::success();
183+
// There are two valid encodings:
184+
// - Type 7: imm at [15:8], [47:40], shift = 264 (0x108) → msl #8
185+
// - Type 8: imm at [23:16], [55:48], shift = 272 (0x110) → msl #16
186+
// Corresponds AArch64_AM::encodeAdvSIMDModImmType7()
187+
// But, v2s_msl and v4s_msl instructions accept either form,
188+
// Thus, Arbitrarily chosing 264 (msl #8) for simplicity.
189+
AssignedValue = MCOperand::createImm(264);
190+
return Error::success();
191191
}
192192
case MCOI::OperandType::OPERAND_PCREL:
193193
case MCOI::OperandType::OPERAND_FIRST_TARGET:

0 commit comments

Comments
 (0)