OSDN Git Service

Fix spelling in comment. NFCI.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sat, 24 Feb 2018 12:27:02 +0000 (12:27 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sat, 24 Feb 2018 12:27:02 +0000 (12:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@326029 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86ISelLowering.cpp

index 25e1ada..732503f 100644 (file)
@@ -37647,7 +37647,7 @@ static SDValue combineSubToSubus(SDNode *N, SelectionDAG &DAG,
   SDValue SubusLHS, SubusRHS;
   // Try to find umax(a,b) - b or a - umin(a,b) patterns
   // they may be converted to subus(a,b).
-  // TODO: Need to add IR cannonicialization for this code.
+  // TODO: Need to add IR canonicalization for this code.
   if (Op0.getOpcode() == ISD::UMAX) {
     SubusRHS = Op1;
     SDValue MaxLHS = Op0.getOperand(0);