[all-commits] [llvm/llvm-project] 85a214: [SDAG] fold insert_vector_elt with undef index

RotateRight via All-commits all-commits at lists.llvm.org
Sun Oct 27 12:28:52 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 85a2146c155953d5bdfb2e7e6ba9780fc2dab1b9
      https://github.com/llvm/llvm-project/commit/85a2146c155953d5bdfb2e7e6ba9780fc2dab1b9
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2019-10-27 (Sun, 27 Oct 2019)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    M llvm/test/CodeGen/AArch64/sched-past-vector-ldst.ll
    M llvm/test/CodeGen/WebAssembly/simd.ll
    M llvm/test/CodeGen/X86/insertelement-var-index.ll

  Log Message:
  -----------
  [SDAG] fold insert_vector_elt with undef index

Similar to:
rG4c47617627fb

This makes the DAG behavior consistent with IR's insertelement.

https://bugs.llvm.org/show_bug.cgi?id=42689

I've tried to maintain test intent for AArch64 and WebAssembly
by replacing undef index operands with something else.




More information about the All-commits mailing list