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

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 17 04:40:02 PST 2025


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

There are some callers I think where including the Ptr value would help for the debug output , which is why I retained it even though it is not super pretty. Not sure if there's a more compact way to print it optionally

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


More information about the llvm-commits mailing list