[llvm] [LoopPeel] Support min/max intrinsics in loop peeling (PR #93162)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Wed May 29 03:51:44 PDT 2024
================
@@ -0,0 +1,328 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 4
+; RUN: opt < %s -S -passes=loop-unroll -unroll-peel-max-count=2 | FileCheck %s
----------------
nikic wrote:
```suggestion
; RUN: opt < %s -S -passes=loop-unroll -unroll-peel-max-count=3 | FileCheck %s
```
I think that would show that peeling actually stops after the right number of iterations?
https://github.com/llvm/llvm-project/pull/93162
More information about the llvm-commits
mailing list