[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 18:01:46 PDT 2021
xiangzhangllvm added a comment.
In D98757#2631042 <https://reviews.llvm.org/D98757#2631042>, @lebedev.ri wrote:
> The ongoing special-casing of `X86_AMXTy` through the llvm due to the inability of the existing backend passes to handle certain llvm ir constructs.
We have bring up it to llvm-dev.
BTW,** All the Type should see as target independent.** (Even it support by less targets or 1 target)
Current we see “ if (Ty.isVectorTy()) {…}” is make sense in Mid-End.
Why we can’t see “if (Ty.isX86_AMXTy()){…}” is make sense ?
**Just because more targets support the VectorTy, less target (only x86) support the AMXTy ?
The logic is not make sense.**
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