[all-commits] [llvm/llvm-project] b1afa1: [DAG] SelectionDAG::isSplatValue - add ISD::ABS ha...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Mar 18 03:28:59 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b1afa187c8ee0a42c66aace709069dbd195d012f
      https://github.com/llvm/llvm-project/commit/b1afa187c8ee0a42c66aace709069dbd195d012f
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-03-18 (Thu, 18 Mar 2021)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    M llvm/test/CodeGen/WebAssembly/simd-shift-complex-splats.ll

  Log Message:
  -----------
  [DAG] SelectionDAG::isSplatValue - add ISD::ABS handling

Add ISD::ABS to the existing unary instructions handling for splat detection

This is similar to D83605, but doesn't appear to need to touch any of the wasm refactoring.

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




More information about the All-commits mailing list