Skip to content

Commit 2107f0c

Browse files
committed
Fix the comment
1 parent 920aad4 commit 2107f0c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,7 @@ class AArch64MCPlusBuilder : public MCPlusBuilder {
707707
AArch64_AM::ShiftExtendType ExtendType =
708708
AArch64_AM::getArithExtendType(OperandExtension);
709709
if (ShiftVal != 2) {
710-
// TODO: handle that case where ShiftVal != 2.
710+
// TODO: Handle the patten where ShiftVal != 2.
711711
// The following code sequence below has no shift amount,
712712
// the range could be 0 to 4.
713713
// The pattern comes from libc, it occurs when the binary is static.
@@ -765,7 +765,7 @@ class AArch64MCPlusBuilder : public MCPlusBuilder {
765765
}
766766

767767
if (DefJTBaseAdd->getOpcode() == AArch64::ADR) {
768-
// TODO: handle that case when we do not have adrp/add pair.
768+
// TODO: Handle the pattern where there is no adrp/add pair.
769769
// It also occurs when the binary is static.
770770
// adr x13, 0x215a18 <_nl_value_type_LC_COLLATE+0x50>
771771
// ldrh w13, [x13, w12, uxtw #1]

0 commit comments

Comments
 (0)