[all-commits] [llvm/llvm-project] 4bee31: [SVE][CodeGen] Extend isConstantSplatValue to supp...

kmclaughlin-arm via All-commits all-commits at lists.llvm.org
Thu Nov 26 03:28:57 PST 2020


  Branch: refs/heads/temp-test-main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4bee3197f665a8c2336a6cdd4bf5c4575b9e5fe7
      https://github.com/llvm/llvm-project/commit/4bee3197f665a8c2336a6cdd4bf5c4575b9e5fe7
  Author: Kerry McLaughlin <kerry.mclaughlin at arm.com>
  Date:   2020-11-26 (Thu, 26 Nov 2020)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    M llvm/test/CodeGen/AArch64/sve-gep.ll

  Log Message:
  -----------
  [SVE][CodeGen] Extend isConstantSplatValue to support ISD::SPLAT_VECTOR

Updated the affected scalable_of_scalable tests in sve-gep.ll, as isConstantSplatValue now returns true in DAGCombiner::visitMUL and folds `(mul x, 1) -> x`

Reviewed By: sdesmalen

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




More information about the All-commits mailing list