[PATCH] D117762: [AMDGPU] Set MemoryVT for truncstores in tblgen.

Abinav Puthan Purayil via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 20 02:19:37 PST 2022


abinavpp created this revision.
abinavpp added reviewers: arsenm, foad.
Herald added subscribers: kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl.
abinavpp requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

GlobalISelEmitter was skipping these patterns when its predicates were
checked. This patch should allow us to select d16_hi stores in
GlobalISel.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D117762

Files:
  llvm/lib/Target/AMDGPU/AMDGPUInstructions.td
  llvm/test/CodeGen/AMDGPU/GlobalISel/load-unaligned.ll
  llvm/test/CodeGen/AMDGPU/GlobalISel/widen-i8-i16-scalar-loads.ll
  llvm/test/CodeGen/AMDGPU/ds-alignment.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117762.401560.patch
Type: text/x-patch
Size: 21887 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220120/fae00fcb/attachment.bin>


More information about the llvm-commits mailing list