[PATCH] D77827: [AMDGCN] Run LoadStoreVectorizer before CodeGenPrepare
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 9 14:25:03 PDT 2020
arsenm added inline comments.
================
Comment at: llvm/test/CodeGen/AMDGPU/vectorize-loads.ll:18
+ %gep_y.cast = bitcast i8 addrspace(4)* %gep_y to i16 addrspace(4)*
+ %id_y = load i16, i16 addrspace(4)* %gep_y.cast, align 2, !invariant.load !0 ; load workgroup size y
+ %add = add nuw nsw i16 %id_y, %id_x
----------------
If the problem is just the widened constant loads, we could maybe handle this directly in the vectorizer.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77827/new/
https://reviews.llvm.org/D77827
More information about the llvm-commits
mailing list