[llvm-branch-commits] [llvm] release/23.x: [VPlan] Use VPlan::hasTailFolded in materializeConstantVectorTC. (PR #211363)

Nikita Popov via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Jul 23 07:20:18 PDT 2026


================
@@ -758,3 +758,108 @@ exit:
   %sub = fsub float %max.next, %min.next
   ret float %sub
 }
+
+; Test fmax reduction with tail folding and a constant trip count that is not a
+; multiple of the vector factor (optsize forces tail folding).
+; Test for https://github.com/llvm/llvm-project/issues/209159.
+; FIXME: Currently the trip count is computed incorrectly.
----------------
nikic wrote:

Not relevant to the backport, but this FIXME didn't get dropped when the fix landed.

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


More information about the llvm-branch-commits mailing list