[PATCH] D155699: [AMDGPU] Allow vector access types in PromoteAllocaToVector

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 19 07:02:45 PDT 2023


arsenm added inline comments.


================
Comment at: llvm/test/CodeGen/AMDGPU/promote-alloca-subvecs.ll:46
+}
+
+define void @test_different_type_subvector(<4 x i32> %val.0, <8 x i16> %val.1, <16 x i8> %val.2) {
----------------
arsenm wrote:
> Try some 1 x vectors, those usually break something.
> 
> Also vectors of pointers, and FP types
And reload ptr as int and int as ptr


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D155699/new/

https://reviews.llvm.org/D155699



More information about the llvm-commits mailing list