[llvm] [VPlan] Implement printing VPIRMetadata. (PR #168385)
David Sherwood via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 24 08:59:51 PST 2025
================
@@ -4444,6 +4449,11 @@ class VPlan {
/// Return the VPIRBasicBlock wrapping the header of the scalar loop.
VPIRBasicBlock *getScalarHeader() const { return ScalarHeader; }
+ /// Return the Module from the scalar header.
+ const Module &getModule() const {
----------------
david-arm wrote:
Given this is only used in one place is it worth adding this function? Not sure if it would be used elsewhere though.
https://github.com/llvm/llvm-project/pull/168385
More information about the llvm-commits
mailing list