[llvm] [Transforms][Utils] Add LoopSplitUtils for iteration-space loop splitting (PR #205995)

Ramkumar Ramachandra via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 28 09:48:32 PDT 2026


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

----------------
artagnon wrote:

```suggestion
  if (ICmpInst::isRelational(P))
    return ICmpInst::isSigned(P);
  if (IndAR->hasNoSignedWrap())
    return true;
  if (IndAR->hasNoUnsignedWrap())
    return false;
```

Perhaps clearer? If it's relational (ie. not eq/ne), it must have a sign.

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


More information about the llvm-commits mailing list