[llvm] [LoopVectorize] Don't scalarize predicated instruction with optsize (PR #129265)
David Sherwood via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 6 04:02:37 PST 2025
================
@@ -12,13 +12,13 @@ target datalayout = "E-m:e-p:32:32-i64:32-f64:32:64-a:0:32-n32-S128"
define i32 @foo_optsize() #0 {
; CHECK-LABEL: @foo_optsize(
; CHECK-NEXT: entry:
-; CHECK-NEXT: br i1 false, label [[SCALAR_PH:%.*]], label [[VECTOR_PH:%.*]]
+; CHECK-NEXT: br i1 false, label [[SCALAR_PH:%.*]], label [[ENTRY:%.*]]
; CHECK: vector.ph:
-; CHECK-NEXT: br label [[VECTOR_BODY:%.*]]
+; CHECK-NEXT: br label [[FOR_BODY:%.*]]
----------------
david-arm wrote:
I don't think this is your fault, but this looks weird. We are definitely jumping to vector.body so I don't know why it's created a FOR_BODY label?
https://github.com/llvm/llvm-project/pull/129265
More information about the llvm-commits
mailing list