[llvm] 7557d94 - [NFC] Update comment for TRUNC followed by a masked store

Xiang1 Zhang via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 11 19:25:14 PST 2022


Author: Xiang1 Zhang
Date: 2022-12-12T11:24:57+08:00
New Revision: 7557d94bd8d92e486084074e1017eb33149f9156

URL: https://github.com/llvm/llvm-project/commit/7557d94bd8d92e486084074e1017eb33149f9156
DIFF: https://github.com/llvm/llvm-project/commit/7557d94bd8d92e486084074e1017eb33149f9156.diff

LOG: [NFC] Update comment for TRUNC followed by a masked store

Added: 
    

Modified: 
    llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index 6d76680ce65b..948ddc62b6bb 100644
--- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@ -11030,7 +11030,7 @@ SDValue DAGCombiner::visitMSTORE(SDNode *N) {
 
   // If this is a TRUNC followed by a masked store, fold this into a masked
   // truncating store.  We can do this even if this is already a masked
-  // truncstore or a compress store.
+  // truncstore.
   // TODO: Try combine to masked compress store if possiable.
   if ((Value.getOpcode() == ISD::TRUNCATE) && Value->hasOneUse() &&
       MST->isUnindexed() && !MST->isCompressingStore() &&


        


More information about the llvm-commits mailing list