[PATCH] D150002: [AMDGPU] Fix crash with 160-bit p7's by manually defining getPointerTy

Krzysztof Drewniak via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 8 08:45:42 PDT 2023


krzysz00 updated this revision to Diff 520400.
krzysz00 edited the summary of this revision.
krzysz00 added a comment.

Move to MVT::v5i32, sacrificing the ability to handle vectors of p7 in codegen but being more correct otherwise.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D150002

Files:
  llvm/lib/Target/AMDGPU/SIISelLowering.cpp
  llvm/lib/Target/AMDGPU/SIISelLowering.h
  llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-non-integral-address-spaces-vectors.ll
  llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-non-integral-address-spaces.ll
  llvm/test/Transforms/IndVarSimplify/AMDGPU/addrspace-7-doesnt-crash.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150002.520400.patch
Type: text/x-patch
Size: 7083 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230508/5c9fa2c6/attachment.bin>


More information about the llvm-commits mailing list