[all-commits] [llvm/llvm-project] dafcbf: [GlobalISel] Widen G_EXTRACT_VECTOR_ELT using anye...

Amara Emerson via All-commits all-commits at lists.llvm.org
Mon Oct 4 12:19:32 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dafcbfdaa0cdcf50930ef6b9f5dca3a892973cfd
      https://github.com/llvm/llvm-project/commit/dafcbfdaa0cdcf50930ef6b9f5dca3a892973cfd
  Author: Amara Emerson <amara at apple.com>
  Date:   2021-10-04 (Mon, 04 Oct 2021)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/legalize-extract-vector-elt.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-extract-vector-elt.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-shuffle-vector.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-shuffle-vector.s16.mir

  Log Message:
  -----------
  [GlobalISel] Widen G_EXTRACT_VECTOR_ELT using anyext instead of sext.

G_SEXT seems to be unnecessary here, anyext will do.

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




More information about the All-commits mailing list