[llvm] [VPlan] Introduce ComputeReductionResult VPInstruction opcode. (PR #70253)

via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 4 13:38:10 PST 2024


================
@@ -132,9 +132,10 @@ define float @print_reduction(i64 %n, ptr noalias %y) {
 ; CHECK-NEXT: Successor(s): middle.block
 ; CHECK-EMPTY:
 ; CHECK-NEXT: middle.block:
+; CHECK-NEXT:   EMIT vp<[[RED_RES:%.+]]> = compute-reduction-result ir<%red>
----------------
ayalz wrote:

nit: CHECK additional operand here too.

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


More information about the llvm-commits mailing list