[llvm] [LoopVectorize] Don't replicate blocks with optsize (PR #129265)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 16 00:26:06 PDT 2025


================
@@ -1035,58 +1035,59 @@ exit:
 
 ; Test case with a dead GEP between the load and store regions. Dead recipes
 ; need to be removed before merging.
-define void @merge_with_dead_gep_between_regions(i32 %n, ptr noalias %src, ptr noalias %dst) optsize {
+define void @merge_with_dead_gep_between_regions(i32 %n, ptr noalias %src, ptr noalias %dst) {
----------------
fhahn wrote:

Hm, it looks like the test isn't checking what it used to now; there are no replicate regions .

Maybe it needs re-writing with branches on the same condition to preserve the original test coverage (merging regions with a recipe in between)?

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


More information about the llvm-commits mailing list