[PATCH] D98757: [AMX] Not fold constant bitcast into amx intrisic

Xiang Zhang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 17 00:34:42 PDT 2021


xiangzhangllvm added a comment.

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

> I strongly suggest you bring up this ongoing creep of `if (DestTy->isX86_AMXTy()) return false;` on llvm-dev.
> I strongly supsect you are covering up bugs in you backend/pass with them.

Sorry, I don't much understand your idea, I happen to find this bug when I supporting fast reg allocation for AMX.
It fold the Constant bitcast of tile type into a amx instruction, which will escape the BackEnd pass "Lower AMX type for Load/Store"


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D98757



More information about the cfe-commits mailing list