[all-commits] [llvm/llvm-project] 7a140f: Merging r372886:

RotateRight via All-commits all-commits at lists.llvm.org
Tue Nov 12 14:06:02 PST 2019


  Branch: refs/heads/release/9.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 7a140f4a293e05a1047bc39c805fba5878b6fa3a
      https://github.com/llvm/llvm-project/commit/7a140f4a293e05a1047bc39c805fba5878b6fa3a
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2019-11-12 (Tue, 12 Nov 2019)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/X86/scalarize-fp.ll

  Log Message:
  -----------
  Merging r372886:

------------------------------------------------------------------------
r372886 | spatel | 2019-09-25 08:08:33 -0700 (Wed, 25 Sep 2019) | 7 lines

[DAGCombiner] add one-use restriction to vector transform with cheap extract

We might be able to do better on the example in the test,
but in general, we should not scalarize a splatted vector
binop if there are other uses of the binop. Otherwise, we
can end up with code as we had - a scalar op that is
redundant with a vector op.
------------------------------------------------------------------------




More information about the All-commits mailing list