[PATCH] D142109: [LoopVectorize] Remove runtime check and scalar tail loop when tail-folding.
David Sherwood via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 6 06:48:57 PST 2023
david-arm accepted this revision.
david-arm added a comment.
This revision is now accepted and ready to land.
LGTM!
================
Comment at: llvm/test/Transforms/LoopVectorize/AArch64/sve-low-trip-count.ll:7
; CHECK-LABEL: @trip7_i64(
+; CHECK: vector.ph:
+; CHECK: %[[N_MINUS_VF:.*]] = sub i64 7, %[[VSCALE_X_VF:.*]]
----------------
I'm happy with this regression for now, since it will be fixed by D142894.
================
Comment at: llvm/test/Transforms/LoopVectorize/AArch64/sve-tail-folding-optsize.ll:9
; CHECK-NEXT: entry:
+; CHECK-NEXT: br i1 false, label [[SCALAR_PH:%.*]], label [[VECTOR_PH:%.*]]
+; CHECK: vector.ph:
----------------
This is now actually doing what `-Os` should be doing!
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142109/new/
https://reviews.llvm.org/D142109
More information about the llvm-commits
mailing list