[PATCH] D124903: [X86][AMX] Replace PXOR instruction with SET0 in AMX pre config.

Xiang Zhang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 4 18:09:48 PDT 2022


xiangzhangllvm added inline comments.


================
Comment at: llvm/test/CodeGen/X86/AMX/amx-config.ll:11
 ; Function Attrs: nounwind uwtable
-define dso_local void @test_api(i32 %0, i16 signext %1, i16 signext %2) {
+define <4 x i32> @test_api(i32 %0, i16 signext %1, i16 signext %2, <4 x i32> %xmm0) {
 ; AVX512-LABEL: test_api:
----------------
Why change the void to return parameter %xmm0,I didn't see %xmm0 join any calculation.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D124903



More information about the llvm-commits mailing list