[llvm] 17cfc15 - Fix spelling typo. NFC

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 24 04:05:00 PST 2024


Author: Simon Pilgrim
Date: 2024-01-24T12:04:44Z
New Revision: 17cfc15d6b9b3773db8353937aac9878d7777b21

URL: https://github.com/llvm/llvm-project/commit/17cfc15d6b9b3773db8353937aac9878d7777b21
DIFF: https://github.com/llvm/llvm-project/commit/17cfc15d6b9b3773db8353937aac9878d7777b21.diff

LOG: Fix spelling typo. NFC

commutatvity -> commutativity

Added: 
    

Modified: 
    llvm/lib/Target/X86/X86ISelLowering.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp
index e158312caffdec..86de5dd0c3f097 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -52193,7 +52193,7 @@ static SDValue combineAndnp(SDNode *N, SelectionDAG &DAG,
   if (SDValue Not = IsNOT(N0, DAG))
     return DAG.getNode(ISD::AND, DL, VT, DAG.getBitcast(VT, Not), N1);
 
-  // Fold for better commutatvity:
+  // Fold for better commutativity:
   // ANDNP(x,NOT(y)) -> AND(NOT(x),NOT(y)) -> NOT(OR(X,Y)).
   if (N1->hasOneUse())
     if (SDValue Not = IsNOT(N1, DAG))


        


More information about the llvm-commits mailing list