[libcxx-commits] [clang-tools-extra] [mlir] [libcxx] [compiler-rt] [clang] [llvm] [libc] [flang] [VPlan] Replace VPRecipeOrVPValue with VP2VP recipe simplification. (PR #76090)

Florian Hahn via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jan 29 01:34:22 PST 2024


================
@@ -827,6 +827,16 @@ static unsigned getOpcodeForRecipe(VPRecipeBase &R) {
 
 /// Try to simplify recipe \p R.
 static void simplifyRecipe(VPRecipeBase &R, VPTypeAnalysis &TypeInfo) {
+  // Try to remove redundant blend recipes.
+  if (auto *Blend = dyn_cast<VPBlendRecipe>(&R)) {
----------------
fhahn wrote:

Done, thanks!

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


More information about the libcxx-commits mailing list