[all-commits] [llvm/llvm-project] 40f56c: [mlir] [VectorOps] Replace zero-scalar + splat int...

Aart Bik via All-commits all-commits at lists.llvm.org
Mon May 11 20:21:01 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 40f56c8cf189249465997dad8bce413b71ccbef0
      https://github.com/llvm/llvm-project/commit/40f56c8cf189249465997dad8bce413b71ccbef0
  Author: aartbik <ajcbik at google.com>
  Date:   2020-05-11 (Mon, 11 May 2020)

  Changed paths:
    M mlir/lib/Dialect/Vector/VectorTransforms.cpp

  Log Message:
  -----------
  [mlir] [VectorOps] Replace zero-scalar + splat into direct zero vector constant

Summary:
The scalar zero + splat yields more intermediate code than the direct
dense zero constant, and ultimately is lowered to exactly the same
LLVM IR operations, so no point wasting the intermediate code.

Reviewers: nicolasvasilache, andydavis1, reidtatge

Reviewed By: nicolasvasilache

Subscribers: mehdi_amini, rriddle, jpienaar, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, liufengdb, stephenneuendorffer, Joonsoo, grosul1, frgossen, Kayjukh, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list