[PATCH] D130090: [PowerPC][NFC] Convert the MMA test cases to use opaque pointers.

Lei Huang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 20 07:18:57 PDT 2022


lei accepted this revision as: lei.
lei added a comment.
This revision is now accepted and ready to land.

1 missed bitcast, otherwise LGTM



================
Comment at: llvm/test/CodeGen/PowerPC/mma-intrinsics.ll:616
   %1 = tail call <512 x i1> @llvm.ppc.mma.xvf32gerpp(<512 x i1> %0, <16 x i8> %vc, <16 x i8> %vc)
-  %call = tail call signext i32 bitcast (i32 ()* @testRedundantPrimeUnprimeF to i32 ()*)()
-  %add.ptr1 = getelementptr inbounds <512 x i1>, <512 x i1>* %dst, i64 1
-  store <512 x i1> %1, <512 x i1>* %add.ptr1, align 64
+  %call = tail call signext i32 bitcast (ptr @testRedundantPrimeUnprimeF to ptr)()
+  %add.ptr1 = getelementptr inbounds <512 x i1>, ptr %dst, i64 1
----------------
is this bitcast still needed?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D130090/new/

https://reviews.llvm.org/D130090



More information about the llvm-commits mailing list