[llvm] [LoopPeel] prevent estimated trip count overflow before peel (PR #195610)

Joel E. Denny via llvm-commits llvm-commits at lists.llvm.org
Tue May 5 13:47:06 PDT 2026


================

----------------
jdenny-ornl wrote:

```suggestion
    return *TC == 0 ? std::nullopt : TC;
```

Does this work?  If so, can you clean that up while you're here?

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


More information about the llvm-commits mailing list