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

via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 1 03:41:44 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:

Suffice to wrap only the last IR Instruction of a VPIRBasicBlock if all other (expand SCEV) recipes are  to appear afterwards/last.

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


More information about the llvm-commits mailing list