[llvm] cff9399 - [VPlan] Fix comment for User in VPWidenSelectRecipe (NFC).

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue May 19 07:32:15 PDT 2020


Author: Florian Hahn
Date: 2020-05-19T15:31:39+01:00
New Revision: cff9399f6b90233a62eeb808277c98c615d44d8a

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

LOG: [VPlan] Fix comment for User in VPWidenSelectRecipe (NFC).

The comment was referring the arguments of the call, but the recipe
widens a select.

Added: 
    

Modified: 
    llvm/lib/Transforms/Vectorize/VPlan.h

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Transforms/Vectorize/VPlan.h b/llvm/lib/Transforms/Vectorize/VPlan.h
index f575df9aefee..a9da0af59ae0 100644
--- a/llvm/lib/Transforms/Vectorize/VPlan.h
+++ b/llvm/lib/Transforms/Vectorize/VPlan.h
@@ -826,7 +826,7 @@ class VPWidenSelectRecipe : public VPRecipeBase {
   /// Is the condition of the select loop invariant?
   bool InvariantCond;
 
-  /// Hold VPValues for the arguments of the call.
+  /// Hold VPValues for the operands of the select.
   VPUser User;
 
 public:


        


More information about the llvm-commits mailing list