[clang] [llvm] [clang-tools-extra] [VPlan] Introduce VPSingleDefRecipe. (PR #77023)
    via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Thu Jan 18 04:05:34 PST 2024
    
    
  
================
@@ -912,25 +970,28 @@ class VPRecipeWithIRFlags : public VPRecipeBase {
     } else if (auto *Op = dyn_cast<FPMathOperator>(&I)) {
       OpType = OperationType::FPMathOp;
       FMFs = Op->getFastMathFlags();
+    } else {
+      OpType = OperationType::Other;
+      AllFlags = 0;
----------------
ayalz wrote:
Future thought: wonder if VPRecipeWithIRFlags should be merged with VPRecipeBase, as effectively this allows the former to indicate it is w/o IRFlags. I.e., such flags are optional.
https://github.com/llvm/llvm-project/pull/77023
    
    
More information about the cfe-commits
mailing list