[PATCH] D98247: [X86][AMX] Prevent transforming load pointer from <256 x i32>* to x86_amx*.

Pengfei Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 9 20:57:31 PST 2021


pengfei added inline comments.


================
Comment at: llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp:2398
       if (auto *LI = dyn_cast<LoadInst>(IncValue)) {
+        if (DestTy->isX86_AMXTy())
+          return nullptr;
----------------
Better to add a comment for the reason.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D98247



More information about the llvm-commits mailing list