[all-commits] [llvm/llvm-project] 3a60a1: [InstSimplify] Fold insertelement vec, poison, idx...

Juneyoung Lee via All-commits all-commits at lists.llvm.org
Wed Jan 6 17:15:06 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3a60a1f165708954ce8d279f9692116844a998fa
      https://github.com/llvm/llvm-project/commit/3a60a1f165708954ce8d279f9692116844a998fa
  Author: Juneyoung Lee <aqjune at gmail.com>
  Date:   2021-01-07 (Thu, 07 Jan 2021)

  Changed paths:
    M llvm/lib/Analysis/InstructionSimplify.cpp
    M llvm/test/Transforms/InstCombine/extractelement-inseltpoison.ll
    M llvm/test/Transforms/InstCombine/extractelement.ll
    M llvm/test/Transforms/InstSimplify/insertelement.ll
    M llvm/test/Transforms/SLPVectorizer/X86/alternate-int.ll

  Log Message:
  -----------
  [InstSimplify] Fold insertelement vec, poison, idx into vec

This is a simple patch that adds folding from `insertelement vec, poison, idx` into `vec`.

Alive2 proof: https://alive2.llvm.org/ce/z/2y2vbC

Reviewed By: nikic

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




More information about the All-commits mailing list