[all-commits] [llvm/llvm-project] 75b292: [AMDGPU][DAG] Fix insert_vector_elt lowering for 8...

Pierre van Houtryve via All-commits all-commits at lists.llvm.org
Tue Oct 4 07:48:32 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 75b292cb14141cac086aa595154134d789c5fce7
      https://github.com/llvm/llvm-project/commit/75b292cb14141cac086aa595154134d789c5fce7
  Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
  Date:   2022-10-04 (Tue, 04 Oct 2022)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/test/CodeGen/AMDGPU/insert_vector_dynelt.ll
    M llvm/test/CodeGen/AMDGPU/insert_vector_elt.ll

  Log Message:
  -----------
  [AMDGPU][DAG] Fix insert_vector_elt lowering for 8 bit elements

The bitmask used to extract the bits assumed 16 bit elements and wasn't taking the size of the elements into account.

Reviewed By: arsenm

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




More information about the All-commits mailing list