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

Sebastian Neubauer via All-commits all-commits at lists.llvm.org
Wed Jul 22 03:44:26 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2c659082bda6319732118e746fe025d8d5f9bfac
      https://github.com/llvm/llvm-project/commit/2c659082bda6319732118e746fe025d8d5f9bfac
  Author: Sebastian Neubauer <sebastian.neubauer at amd.com>
  Date:   2020-07-22 (Wed, 22 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




More information about the All-commits mailing list