[llvm] [clang-tools-extra] [clang] [VPlan] Introduce VPSingleDefRecipe. (PR #77023)

Florian Hahn via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 19 01:46:50 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;
----------------
fhahn wrote:

Yes that could be done, at the cost of slightly increasing VPRecipeBase's size.

https://github.com/llvm/llvm-project/pull/77023


More information about the cfe-commits mailing list