[llvm] [LAA] Make Ptr argument optional in isNoWrap. (PR #127410)

Ramkumar Ramachandra via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 16 12:16:23 PST 2025


================
@@ -799,8 +799,13 @@ getStrideFromAddRec(const SCEVAddRecExpr *AR, const Loop *Lp, Type *AccessTy,
                     Value *Ptr, PredicatedScalarEvolution &PSE) {
----------------
artagnon wrote:

This function is only using Ptr for the purpose of dbg messages, so perhaps it would make sense to drop the argument entirely?

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


More information about the llvm-commits mailing list