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

Matthew Devereau via All-commits all-commits at lists.llvm.org
Mon Nov 7 07:47:38 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a8c24d57b81703b5730460d7cb12af9783a02539
      https://github.com/llvm/llvm-project/commit/a8c24d57b81703b5730460d7cb12af9783a02539
  Author: Matt Devereau <matthew.devereau at arm.com>
  Date:   2022-11-07 (Mon, 07 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