[llvm] r176031 - 'Hexadecimal' has two 'a's and only one 'i'.

Matt Beaumont-Gay matthewbg at google.com
Mon Feb 25 10:11:18 PST 2013


Author: matthewbg
Date: Mon Feb 25 12:11:18 2013
New Revision: 176031

URL: http://llvm.org/viewvc/llvm-project?rev=176031&view=rev
Log:
'Hexadecimal' has two 'a's and only one 'i'.

Modified:
    llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    llvm/trunk/lib/MC/MCParser/AsmLexer.cpp
    llvm/trunk/test/MC/X86/intel-syntax-hex.s
    llvm/trunk/utils/unittest/googletest/gtest-printers.cc

Modified: llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp?rev=176031&r1=176030&r2=176031&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp Mon Feb 25 12:11:18 2013
@@ -3663,7 +3663,7 @@ void SelectionDAGBuilder::visitTargetInt
 ///
 ///   Op = (Op & 0x007fffff) | 0x3f800000;
 ///
-/// where Op is the hexidecimal representation of floating point value.
+/// where Op is the hexadecimal representation of floating point value.
 static SDValue
 GetSignificand(SelectionDAG &DAG, SDValue Op, DebugLoc dl) {
   SDValue t1 = DAG.getNode(ISD::AND, dl, MVT::i32, Op,
@@ -3677,7 +3677,7 @@ GetSignificand(SelectionDAG &DAG, SDValu
 ///
 ///   (float)(int)(((Op & 0x7f800000) >> 23) - 127);
 ///
-/// where Op is the hexidecimal representation of floating point value.
+/// where Op is the hexadecimal representation of floating point value.
 static SDValue
 GetExponent(SelectionDAG &DAG, SDValue Op, const TargetLowering &TLI,
             DebugLoc dl) {

Modified: llvm/trunk/lib/MC/MCParser/AsmLexer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCParser/AsmLexer.cpp?rev=176031&r1=176030&r2=176031&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MCParser/AsmLexer.cpp (original)
+++ llvm/trunk/lib/MC/MCParser/AsmLexer.cpp Mon Feb 25 12:11:18 2013
@@ -282,7 +282,7 @@ AsmToken AsmLexer::LexDigit() {
                     (int64_t)Result);
   }
 
-  // Either octal or hexidecimal.
+  // Either octal or hexadecimal.
   long long Value;
   unsigned Radix = doLookAhead(CurPtr, 8);
   bool isHex = Radix == 16;

Modified: llvm/trunk/test/MC/X86/intel-syntax-hex.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/X86/intel-syntax-hex.s?rev=176031&r1=176030&r2=176031&view=diff
==============================================================================
--- llvm/trunk/test/MC/X86/intel-syntax-hex.s (original)
+++ llvm/trunk/test/MC/X86/intel-syntax-hex.s Mon Feb 25 12:11:18 2013
@@ -1,7 +1,7 @@
 // RUN: llvm-mc -triple x86_64-unknown-unknown -x86-asm-syntax=intel %s | FileCheck %s
 // rdar://12470373
 
-// Checks to make sure we parse the hexidecimal suffix properly.
+// Checks to make sure we parse the hexadecimal suffix properly.
 // CHECK: movl $10, %eax
   mov eax, 10
 // CHECK: movl $16, %eax

Modified: llvm/trunk/utils/unittest/googletest/gtest-printers.cc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/unittest/googletest/gtest-printers.cc?rev=176031&r1=176030&r2=176031&view=diff
==============================================================================
--- llvm/trunk/utils/unittest/googletest/gtest-printers.cc (original)
+++ llvm/trunk/utils/unittest/googletest/gtest-printers.cc Mon Feb 25 12:11:18 2013
@@ -127,7 +127,7 @@ namespace internal {
 // Depending on the value of a char (or wchar_t), we print it in one
 // of three formats:
 //   - as is if it's a printable ASCII (e.g. 'a', '2', ' '),
-//   - as a hexidecimal escape sequence (e.g. '\x7F'), or
+//   - as a hexadecimal escape sequence (e.g. '\x7F'), or
 //   - as a special escape sequence (e.g. '\r', '\n').
 enum CharFormat {
   kAsIs,
@@ -230,7 +230,7 @@ void PrintCharAndCodeTo(Char c, ostream*
     return;
   *os << " (" << String::Format("%d", c).c_str();
 
-  // For more convenience, we print c's code again in hexidecimal,
+  // For more convenience, we print c's code again in hexadecimal,
   // unless c was already printed in the form '\x##' or the code is in
   // [1, 9].
   if (format == kHexEscape || (1 <= c && c <= 9)) {





More information about the llvm-commits mailing list