[llvm] [AMDGPU] Prefer vector i8s in PHI Nodes (PR #91016)
Jeffrey Byrnes via llvm-commits
llvm-commits at lists.llvm.org
Wed May 8 15:22:59 PDT 2024
jrbyrnes wrote:
> Vectors of i32 should be the canonically preferred type for anything wide. Why would we want i8?
I think we should prefer vectors of i8 over scalar i8s for PHIs because vectors of i8s for PHIs will be coerced to vectors of i32 to workaround the legalization issues. So, in that case, vectorization is profitable
https://github.com/llvm/llvm-project/pull/91016
More information about the llvm-commits
mailing list