[llvm] [LoopUnrollPass] Don't pre-set `UP.Count` before legality checks in `computeUnrollCount()` (PR #185979)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 31 01:20:09 PDT 2026


================
@@ -0,0 +1,92 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
+; RUN: opt < %s -S -passes=loop-unroll -mattr=+no-default-unroll | FileCheck %s
+
+; REQUIRES: riscv-registered-target
----------------
nikic wrote:

I see. Maybe add that as a comment to the test?

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


More information about the llvm-commits mailing list