[all-commits] [llvm/llvm-project] 5a667b: [InstCombine] Try to fold trunc(shuffle(zext)) to ...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Mon Jan 22 05:53:45 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5a667bee9c983f882255732ae27c96d1d94e0893
      https://github.com/llvm/llvm-project/commit/5a667bee9c983f882255732ae27c96d1d94e0893
  Author: Alexey Bataev <5361294+alexey-bataev at users.noreply.github.com>
  Date:   2024-01-22 (Mon, 22 Jan 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
    M llvm/test/Transforms/InstCombine/logical-select-inseltpoison.ll
    M llvm/test/Transforms/InstCombine/logical-select.ll

  Log Message:
  -----------
  [InstCombine] Try to fold trunc(shuffle(zext)) to just a shuffle (#78636)

Tries to remove extra trunc/ext instruction for shufflevector
instructions.

Differential Review: https://github.com/llvm/llvm-project/pull/78636




More information about the All-commits mailing list