[PATCH] D100472: [X86][AMX] Verify illegal types or instructions for x86_amx.

LuoYuanke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 14 05:45:51 PDT 2021


LuoYuanke added inline comments.


================
Comment at: llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp:2414-2416
+        // TODO: Remove this check when bitcast between vector and x86_amx
+        // is replaced with a specific intrinsic.
+        if (DestTy->isX86_AMXTy())
----------------
lebedev.ri wrote:
> Not the bitcast, the load/store is the problem.
Since x86_amx pointer is invalid (llvm/test/Verifier/x86_amx8.ll), the load/store form x86_amx is also invalid. I change it as transform in the comments.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D100472



More information about the llvm-commits mailing list