[llvm] [VPlan] Introduce explicit ExtractFromEnd recipes for live-outs. (PR #100658)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 12 12:44:47 PDT 2024
================
@@ -654,6 +656,7 @@ define i32 @print_exit_value(ptr %ptr, i32 %off) {
; CHECK-NEXT: Successor(s): middle.block
; CHECK-EMPTY:
; CHECK-NEXT: middle.block:
+; CHECK-NEXT: EMIT vp<[[EXIT:%.+]]> = extract-from-end ir<%add>, ir<1>
----------------
fhahn wrote:
It could be pre-computed, but at the moment we use extracts, pre-computation is only done for the IV or its increment directly
https://github.com/llvm/llvm-project/pull/100658
More information about the llvm-commits
mailing list