[llvm] [LoopPeel] Support min/max intrinsics in loop peeling (PR #93162)
Sergey Kachkov via llvm-commits
llvm-commits at lists.llvm.org
Wed May 29 08:55:09 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
----------------
skachkov-sc wrote:
Increased the limit; also added special test (test_max_count_threshold) to check that if we want to peel more than max-peel-count, we shouldn't peel loop at all (because such transform will not help to eliminate min/max intrinsic in loop)
https://github.com/llvm/llvm-project/pull/93162
More information about the llvm-commits
mailing list