[all-commits] [llvm/llvm-project] 7047cb: [AMDGPU] Trim trailing undefs from the end of imag...

Mateja Marjanovic via All-commits all-commits at lists.llvm.org
Thu Jun 15 06:20:06 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7047cb52037330dd19ccf27462a28d34704defb0
      https://github.com/llvm/llvm-project/commit/7047cb52037330dd19ccf27462a28d34704defb0
  Author: Mateja Marjanovic <mmarjano at amd.com>
  Date:   2023-06-15 (Thu, 15 Jun 2023)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp
    M llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-simplify-image-buffer-stores.ll

  Log Message:
  -----------
  [AMDGPU] Trim trailing undefs from the end of image and buffer store

Remove undef values from the end of the vector operand in image and
buffer store instructions.
Also instead of call to computeKnownFPClass, use only findScalarElement.

Continuation of: 88421ea973916e Trim zero components from buffer and image stores

Differential Revision: https://reviews.llvm.org/D152440




More information about the All-commits mailing list