[all-commits] [llvm/llvm-project] d49cb5: [SimplifyCFG] Add bonus when seeing vector ops to ...

aeubanks via All-commits all-commits at lists.llvm.org
Thu Sep 16 10:55:00 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d49cb5b3035b02ffdd0cc8cf4c69c6e5369558f6
      https://github.com/llvm/llvm-project/commit/d49cb5b3035b02ffdd0cc8cf4c69c6e5369558f6
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2021-09-16 (Thu, 16 Sep 2021)

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
    M llvm/test/Transforms/PhaseOrdering/X86/vector-reductions-logical.ll

  Log Message:
  -----------
  [SimplifyCFG] Add bonus when seeing vector ops to branch fold to common dest

This makes some tests in vector-reductions-logical.ll more stable when
applying D108837.

The cost of branching is higher when vector ops are involved due to
potential SLP transformations.

Reviewed By: spatel

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




More information about the All-commits mailing list