[PATCH] D122567: [X86][AMX] enable amx cast intrinsics in FE.

Xiang Zhang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 29 00:32:45 PDT 2022


xiangzhangllvm added inline comments.


================
Comment at: clang/lib/CodeGen/CGBuiltin.cpp:5413-5415
+        if (PTy->isX86_AMXTy())
+          ArgValue = Builder.CreateIntrinsic(Intrinsic::x86_cast_vector_to_tile,
+                                             {ArgValue->getType()}, {ArgValue});
----------------
Can we fold it in CreateBitCast(ArgValue, PTy) function ?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D122567



More information about the cfe-commits mailing list