[all-commits] [llvm/llvm-project] b88690: [AMDGPU] Don't combine memory intrs to v3i16

Sebastian Neubauer via All-commits all-commits at lists.llvm.org
Wed Jul 29 10:18:31 PDT 2020


  Branch: refs/heads/release/11.x
  Home:   https://github.com/llvm/llvm-project
  Commit: b88690b737518f8776c8f95063b89e8bbbd97428
      https://github.com/llvm/llvm-project/commit/b88690b737518f8776c8f95063b89e8bbbd97428
  Author: Sebastian Neubauer <sebastian.neubauer at amd.com>
  Date:   2020-07-29 (Wed, 29 Jul 2020)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
    M llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-demanded-vector-elts.ll

  Log Message:
  -----------
  [AMDGPU] Don't combine memory intrs to v3i16

v3i16 and v3f16 currently cannot be legalized and lowered so they should
not be emitted by inst combining.

Moved the check down to still allow extracting 1 or 2 elements via the dmask.

Fixes image intrinsics being combined to return v3x16.

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

(cherry picked from commit 2c659082bda6319732118e746fe025d8d5f9bfac)




More information about the All-commits mailing list