[all-commits] [llvm/llvm-project] 668beb: [InstCombine] refactor folds of 'not' instructions...

RotateRight via All-commits all-commits at lists.llvm.org
Tue Oct 5 13:37:11 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 668beb8ae8ddf53e0f3dcb21eb99cd4848f6bfc1
      https://github.com/llvm/llvm-project/commit/668beb8ae8ddf53e0f3dcb21eb99cd4848f6bfc1
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-10-05 (Tue, 05 Oct 2021)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineInternal.h

  Log Message:
  -----------
  [InstCombine] refactor folds of 'not' instructions; NFC

This removes repeated calls to m_Not, so hopefully a little
more efficient.

Also, we may need to enhance some of these blocks to allow
logical and/or (select of bools).




More information about the All-commits mailing list