[PATCH] D94372: [X86][AMX] Prohibit pointer cast on load.

LuoYuanke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 10 05:09:49 PST 2021


LuoYuanke added a comment.

In D94372#2489048 <https://reviews.llvm.org/D94372#2489048>, @lebedev.ri wrote:

> What specifically is having problems after that transformation?

The the amx load require shape and stride. We need transform "%vec = load x86_amx, x86_amx* %src" to "%vec = @llvm.x86.tileloadd64.internal(i16 %row, i16 %col, i8* %src, i64 %stride)". The %row, %col need to be deduced from the context. Prohibit the transform make pass "lower-amx-type" happy.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D94372



More information about the llvm-commits mailing list