[llvm] [VPlan] Add simple driver option to run some individual transforms. (PR #178522)

Ramkumar Ramachandra via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 29 03:57:42 PST 2026


================
@@ -5387,3 +5387,62 @@ void VPlanTransforms::addExitUsersForFirstOrderRecurrences(VPlan &Plan,
     }
   }
 }
+
+namespace {
+/// Uniform signature for test transforms.
+using TestTransformFn = void (*)(VPlan &, const TargetLibraryInfo *);
----------------
artagnon wrote:

function_ref?

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


More information about the llvm-commits mailing list