[all-commits] [llvm/llvm-project] de65b3: [VectorCombine] add/use pass-level IRBuilder

RotateRight via All-commits all-commits at lists.llvm.org
Mon Jun 22 06:02:01 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: de65b356dc2d9730b02ac21dd308cdc3ced0feac
      https://github.com/llvm/llvm-project/commit/de65b356dc2d9730b02ac21dd308cdc3ced0feac
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2020-06-22 (Mon, 22 Jun 2020)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
    M llvm/test/Transforms/PhaseOrdering/X86/vector-reductions.ll
    M llvm/test/Transforms/VectorCombine/X86/extract-binop.ll

  Log Message:
  -----------
  [VectorCombine] add/use pass-level IRBuilder

This saves creating/destroying a builder every time we
perform some transform.

The tests show instruction ordering diffs resulting from
always inserting at the root instruction now, but those
should be benign.




More information about the All-commits mailing list