[all-commits] [llvm/llvm-project] 889911: [X86][AVX] Eliminate redundant movzbl instruction.

Luo, Yuanke via All-commits all-commits at lists.llvm.org
Thu Oct 20 16:20:22 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 889911ec268a342ec5da0e343eda85233fb62f5a
      https://github.com/llvm/llvm-project/commit/889911ec268a342ec5da0e343eda85233fb62f5a
  Author: Luo, Yuanke <yuanke.luo at intel.com>
  Date:   2022-10-21 (Fri, 21 Oct 2022)

  Changed paths:
    M llvm/lib/Target/X86/X86InstrAVX512.td
    M llvm/lib/Target/X86/X86InstrSSE.td
    M llvm/test/CodeGen/X86/avx-intrinsics-fast-isel.ll
    M llvm/test/CodeGen/X86/load-scalar-as-vector.ll
    M llvm/test/CodeGen/X86/pr15267.ll
    M llvm/test/CodeGen/X86/setcc-lowering.ll
    M llvm/test/CodeGen/X86/sse2-intrinsics-fast-isel.ll
    M llvm/test/CodeGen/X86/sse41-intrinsics-fast-isel.ll

  Log Message:
  -----------
  [X86][AVX] Eliminate redundant movzbl instruction.

The movzbl instruction can be combined to vpinsrb or vmovd, when it is
actual lowered from anyext.

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




More information about the All-commits mailing list