[NFC] Fix typo in ARMBaseRegisterInfo
authorAnna Welker <anna.welker@arm.com>
Thu, 14 Nov 2019 09:43:26 +0000 (09:43 +0000)
committerAnna Welker <anna.welker@arm.com>
Thu, 14 Nov 2019 09:56:18 +0000 (09:56 +0000)
llvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp

index 0276ff140ac84fe34bed3d826b92e365f6e4f41c..4ace52b32e9ffaacc5d28872508aac04287306ab 100644 (file)
@@ -388,7 +388,7 @@ bool ARMBaseRegisterInfo::hasBasePointer(const MachineFunction &MF) const {
     return true;
 
   // Thumb has trouble with negative offsets from the FP. Thumb2 has a limited
-  // negative range for ldr/str (255), and thumb1 is positive offsets only.
+  // negative range for ldr/str (255), and Thumb1 is positive offsets only.
   //
   // It's going to be better to use the SP or Base Pointer instead. When there
   // are variable sized objects, we can't reference off of the SP, so we