[all-commits] [llvm/llvm-project] 401d66: [InstCombine] InstCombinerImpl::visitOr - enable b...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sat May 15 05:40:56 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 401d6685c0aa20ba97f8311a88004beedf92f3c0
      https://github.com/llvm/llvm-project/commit/401d6685c0aa20ba97f8311a88004beedf92f3c0
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-05-15 (Sat, 15 May 2021)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
    M llvm/test/Transforms/InstCombine/bitreverse.ll

  Log Message:
  -----------
  [InstCombine] InstCombinerImpl::visitOr - enable bitreverse matching

Currently we only match bswap intrinsics from or(shl(),lshr()) style patterns when we could often match bitreverse intrinsics almost as cheaply.

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




More information about the All-commits mailing list