[PATCH] D141899: [IR][X86] Remove X86AMX type in LLVM IR instead of target extension

Nikita Popov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 17 07:06:19 PST 2023


nikic added a comment.

I think it would also be fine to retain the Type::isX86_AMXTy(), at least for now. That would reduce this patch to mostly the representation change, without the change to check for the type in a different way.



================
Comment at: llvm/lib/IR/Core.cpp:655
-LLVMTypeRef LLVMX86AMXTypeInContext(LLVMContextRef C) {
-  return (LLVMTypeRef) Type::getX86_AMXTy(*unwrap(C));
-}
----------------
These methods can be kept and just create the target type instead.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D141899



More information about the cfe-commits mailing list