[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:56:04 PST 2021
pengfei added a comment.
> Let me reword: we can not use pointer element type to decide whether or not to perform a change.
It's not precise to say we are using pointer element type. The `DestTy` is the dest type of a bitcast after phi. See the comments in line 2364.
What we are doing is to block the phi+bitcast optimization when it will change loading to amx* type. I don't think the opaque ptr solution can solve the problem. The amx type load is quite different from other loads. You can think its expensive. We need to reduce it, or at least stop optimizing to it.
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