[all-commits] [llvm/llvm-project] 543db0: [CodeGen][AMDGPU] EXTRACT_VECTOR_ELT: input vector...

Juan Manuel Martinez Caamaño via All-commits all-commits at lists.llvm.org
Fri Jan 6 00:56:14 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 543db09b97774ebf3c5da4a7044f1a94d6ba2975
      https://github.com/llvm/llvm-project/commit/543db09b97774ebf3c5da4a7044f1a94d6ba2975
  Author: Juan Manuel MARTINEZ CAAMAÑO <juamarti at amd.com>
  Date:   2023-01-06 (Fri, 06 Jan 2023)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    A llvm/test/CodeGen/AMDGPU/dagcomb-extract-vec-elt-different-sizes.ll

  Log Message:
  -----------
  [CodeGen][AMDGPU] EXTRACT_VECTOR_ELT: input vector element type can differ from output type

In function SITargetLowering::performExtractVectorElt,
the output type was not considered which could lead to type mismatches
later.

Reviewed By: arsenm

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




More information about the All-commits mailing list