[all-commits] [llvm/llvm-project] 957eed: [InstCombine] Remove redundant splats in InstCombi...

Matthew Devereau via All-commits all-commits at lists.llvm.org
Wed Nov 2 04:57:46 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 957eed0b1af2cb88edafe1ff2643a38165c67a40
      https://github.com/llvm/llvm-project/commit/957eed0b1af2cb88edafe1ff2643a38165c67a40
  Author: Matt Devereau <matthew.devereau at arm.com>
  Date:   2022-11-02 (Wed, 02 Nov 2022)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineInternal.h
    M llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
    M llvm/test/Transforms/InstCombine/shuffle-binop.ll
    R llvm/test/Transforms/VectorCombine/AArch64/insert-shuffle-binop.ll

  Log Message:
  -----------
  [InstCombine] Remove redundant splats in InstCombineVectorOps

Splatting the first vector element of the result of a BinOp, where any of the
BinOp's operands are the result of a first vector element splat can be simplified to
splatting the first vector element of the result of the BinOp

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




More information about the All-commits mailing list