[llvm] 5ffa8c4 - [NFC][DAGCombiner] Fix typo in `visitFREEZE()`

Roman Lebedev via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 13 10:54:02 PST 2023


Author: Roman Lebedev
Date: 2023-01-13T21:52:47+03:00
New Revision: 5ffa8c401968be7eb950a3ed186dff2e7ce1ab9e

URL: https://github.com/llvm/llvm-project/commit/5ffa8c401968be7eb950a3ed186dff2e7ce1ab9e
DIFF: https://github.com/llvm/llvm-project/commit/5ffa8c401968be7eb950a3ed186dff2e7ce1ab9e.diff

LOG: [NFC][DAGCombiner] Fix typo in `visitFREEZE()`

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 b8eb279ae7fe..db7132819690 100644
--- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@ -14365,7 +14365,7 @@ SDValue DAGCombiner::visitFREEZE(SDNode *N) {
   }
   // NOTE: the whole op may be not guaranteed to not be undef or poison because
   // it could create undef or poison due to it's poison-generating flags.
-  // So not finding any maybe-poison flags is fine.
+  // So not finding any maybe-poison operands is fine.
 
   for (SDValue MaybePoisonOperand : MaybePoisonOperands) {
     // Don't replace every single UNDEF everywhere with frozen UNDEF, though.


        


More information about the llvm-commits mailing list