[llvm] [VPlan] Add VPIRInstruction, use for exit block live-outs. (PR #100735)

via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 13 06:12:22 PDT 2024


================
@@ -572,6 +572,8 @@ define void @print_expand_scev(i64 %y, ptr %ptr) {
 ; CHECK-NEXT: vp<[[TC:%.+]]> = original trip-count
 ; CHECK-EMPTY:
 ; CHECK-NEXT: ir-bb<entry>:
+; CHECK-NEXT:   IR %div = udiv i64 %y, 492802768830814060
+; CHECK-NEXT:   IR %inc = add i64 %div, 1
----------------
ayalz wrote:

Could alternatively eliminate redundant pairs of adjacent non-phi VPIRI's in a later VPlan2VPlan pass.

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


More information about the llvm-commits mailing list