================
@@ -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
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to