[all-commits] [llvm/llvm-project] 538fdb: [InstCombine] foldSelectRotate - generalize to fol...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sat Oct 31 05:34:22 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 538fdb0189354d841cad8e8ea112dd73aed7c95f
      https://github.com/llvm/llvm-project/commit/538fdb0189354d841cad8e8ea112dd73aed7c95f
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-10-31 (Sat, 31 Oct 2020)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
    M llvm/test/Transforms/InstCombine/funnel.ll

  Log Message:
  -----------
  [InstCombine] foldSelectRotate - generalize to foldSelectFunnelShift

This is the last of the rotate->funnel shift InstCombine generalizations for PR46896

We still have foldGuardedRotateToFunnelShift to deal with in AggressiveInstCombine

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




More information about the All-commits mailing list