[PATCH] D143731: [AMDGPU] Break-up large PHIs for DAGISel

Pierre van Houtryve via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 13 06:05:24 PST 2023


Pierre-vh updated this revision to Diff 496949.
Pierre-vh edited the summary of this revision.
Pierre-vh added a comment.

Add an optimization for Constant incoming values.
This allows us to avoid emitting a extract.vector of a zeroinit/constant vector.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D143731

Files:
  llvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
  llvm/test/CodeGen/AMDGPU/acc-ldst.ll
  llvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-break-large-phis.ll
  llvm/test/CodeGen/AMDGPU/early-if-convert.ll
  llvm/test/CodeGen/AMDGPU/extract-subvector-16bit.ll
  llvm/test/CodeGen/AMDGPU/mfma-loop.ll
  llvm/test/CodeGen/AMDGPU/tuple-allocation-failure.ll
  llvm/test/CodeGen/AMDGPU/v1024.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143731.496949.patch
Type: text/x-patch
Size: 149862 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230213/608f590b/attachment.bin>


More information about the llvm-commits mailing list