[PATCH] D98247: [X86][AMX] Prevent transforming load pointer from <256 x i32>* to x86_amx*.
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 11 11:25:27 PST 2021
spatel added a reviewer: RKSimon.
spatel added a comment.
In D98247#2618631 <https://reviews.llvm.org/D98247#2618631>, @lebedev.ri wrote:
> I still believe this is a wrong approach and the code
> that is having trouble with the 'optimized' should be fixed,
> but i'll defer to @spatel.
I don't know anything about the AMX type / functionality, so I'm probably not the best judge.
I agree that we want to avoid type-based hacks (but what does it mean that we even have target-specific types in IR?)...
OTOH there is already precedent for AMX exceptions in instcombine (and MMX before that). I think we managed to make some of the MMX hacks less obviously bad by excluding all target-specific types from a given transform. Is that a possibility here? That is, could we limit the transform using isIntOrIntVectorTy() or similar?
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