[PATCH] D139492: [PowerPC][NFC] Test case update on ppc64-acc-regalloc-bugfix.ll

Ting Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 6 17:33:59 PST 2022


tingwang created this revision.
tingwang added reviewers: nemanjai, stefanp, shchenz, PowerPC.
tingwang added a project: LLVM.
Herald added subscribers: kbarton, qcolombet, MatzeB.
Herald added a project: All.
tingwang requested review of this revision.
Herald added a subscriber: llvm-commits.

Store initialized lane to get rid of undef behavior.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D139492

Files:
  llvm/test/CodeGen/PowerPC/ppc64-acc-regalloc-bugfix.ll


Index: llvm/test/CodeGen/PowerPC/ppc64-acc-regalloc-bugfix.ll
===================================================================
--- llvm/test/CodeGen/PowerPC/ppc64-acc-regalloc-bugfix.ll
+++ llvm/test/CodeGen/PowerPC/ppc64-acc-regalloc-bugfix.ll
@@ -9,11 +9,11 @@
 ; CHECK-NEXT:    xxlxor v2, v2, v2
 ; CHECK-NEXT:    xxlxor vs0, vs0, vs0
 ; CHECK-NEXT:    xxlor vs3, v2, v2
-; CHECK-NEXT:    stxv vs1, 0(0)
+; CHECK-NEXT:    stxv vs0, 0(0)
 dmblvi_entry:
   %0 = tail call <512 x i1> @llvm.ppc.mma.assemble.acc(<16 x i8> zeroinitializer, <16 x i8> undef, <16 x i8> undef, <16 x i8> zeroinitializer)
   %1 = tail call { <16 x i8>, <16 x i8>, <16 x i8>, <16 x i8> } @llvm.ppc.mma.disassemble.acc(<512 x i1> %0)
-  %2 = extractvalue { <16 x i8>, <16 x i8>, <16 x i8>, <16 x i8> } %1, 2
+  %2 = extractvalue { <16 x i8>, <16 x i8>, <16 x i8>, <16 x i8> } %1, 3
   store <16 x i8> %2, ptr null, align 1
   unreachable
 }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139492.480719.patch
Type: text/x-patch
Size: 919 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221207/ac43b658/attachment.bin>


More information about the llvm-commits mailing list