[all-commits] [llvm/llvm-project] abd927: [AMDGPU] Check for num elts in SelectVOP3PMods

Piotr Sobczak via All-commits all-commits at lists.llvm.org
Wed Sep 14 11:05:20 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: abd927e5a849f0dbb2f8a8fe232519424fc84c52
      https://github.com/llvm/llvm-project/commit/abd927e5a849f0dbb2f8a8fe232519424fc84c52
  Author: Piotr Sobczak <Piotr.Sobczak at amd.com>
  Date:   2022-09-14 (Wed, 14 Sep 2022)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
    A llvm/test/CodeGen/AMDGPU/wmma_modifiers.ll

  Log Message:
  -----------
  [AMDGPU] Check for num elts in SelectVOP3PMods

The rest of the code section assumes there are exactly two elements
in the vector (Lo, Hi), so add the check before entering the section.

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




More information about the All-commits mailing list