Skip to content

Commit 5bb02a1

Browse files
committed
Fix the comment
1 parent f486e7f commit 5bb02a1

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
@@ -703,7 +703,7 @@ class AArch64MCPlusBuilder : public MCPlusBuilder {
703703
AArch64_AM::ShiftExtendType ExtendType =
704704
AArch64_AM::getArithExtendType(OperandExtension);
705705
if (ShiftVal != 2) {
706-
// TODO: handle that case where ShiftVal != 2.
706+
// TODO: Handle the patten where ShiftVal != 2.
707707
// The following code sequence below has no shift amount,
708708
// the range could be 0 to 4.
709709
// The pattern comes from libc, it occurs when the binary is static.
@@ -761,7 +761,7 @@ class AArch64MCPlusBuilder : public MCPlusBuilder {
761761
}
762762

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

0 commit comments

Comments
 (0)