[PATCH] D91927: [X86] Add x86_amx type for intel AMX.

Pengfei Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 24 04:30:10 PST 2020


pengfei added inline comments.


================
Comment at: llvm/lib/IR/DataLayout.cpp:819
+  case Type::X86_AMXTyID:
+    return Align(64);
   default:
----------------
Should be 512 bits?


================
Comment at: llvm/lib/Target/X86/X86LowerAMXType.cpp:79
+    // -->
+    // %addr = alloca <256 x i32>, align 1024
+    // store <256 x i32> %src, <256 x i32>* %addr, align 1024
----------------
Why the alignment not be 64?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D91927



More information about the llvm-commits mailing list