[all-commits] [llvm/llvm-project] 7202d9: [DAG] Combine fshl/fshr(load1, load0, c) if we have ...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Mar 6 03:38:38 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7202d9cde9d23ba94c7f09fd6b5eafc437136542
      https://github.com/llvm/llvm-project/commit/7202d9cde9d23ba94c7f09fd6b5eafc437136542
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-03-06 (Fri, 06 Mar 2020)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/X86/fshl.ll
    M llvm/test/CodeGen/X86/fshr.ll

  Log Message:
  -----------
  [DAG] Combine fshl/fshr(load1,load0,c) if we have consecutive loads

As noted on D75114, if both arguments of a funnel shift are consecutive loads we are missing the opportunity to combine them into a single load.

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




More information about the All-commits mailing list