[llvm] [LV][NFC] Introduce LoopVectorizationUtils for shared utility functions (PR #194951)
Hassnaa Hamdi via llvm-commits
llvm-commits at lists.llvm.org
Fri May 1 07:36:42 PDT 2026
================
@@ -58,15 +59,6 @@ extern cl::opt<bool> PreferInLoopReductions;
std::optional<unsigned> getMaxVScale(const Function &F,
const TargetTransformInfo &TTI);
-/// Reports an informative message: print \p Msg for debugging purposes as well
-/// as an optimization remark. Uses either \p I as location of the remark, or
-/// otherwise \p TheLoop. If \p DL is passed, use it as debug location for the
-/// remark.
-void reportVectorizationInfo(const StringRef Msg, const StringRef ORETag,
- OptimizationRemarkEmitter *ORE,
- const Loop *TheLoop, Instruction *I = nullptr,
- DebugLoc DL = {});
-
----------------
hassnaaHamdi wrote:
I see. I preferred to have a single source of information, that's why I moved it. What do you think ?
https://github.com/llvm/llvm-project/pull/194951
More information about the llvm-commits
mailing list