[all-commits] [llvm/llvm-project] 6ddc23: [InstCombine] reduce code for flip of masked bit; NFC

RotateRight via All-commits all-commits at lists.llvm.org
Sun Nov 15 12:51:52 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6ddc2377669243e93c1d6fa931f3eaef370e55e0
      https://github.com/llvm/llvm-project/commit/6ddc2377669243e93c1d6fa931f3eaef370e55e0
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2020-11-15 (Sun, 15 Nov 2020)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineInternal.h
    M llvm/test/Transforms/InstCombine/add.ll
    M llvm/test/Transforms/InstCombine/and.ll

  Log Message:
  -----------
  [InstCombine] reduce code for flip of masked bit; NFC

There are 1-2 potential follow-up NFC commits to reduce
this further on the way to generalizing this for vectors.

The operand replacing path should be dead code because demanded
bits handles that more generally (D91415).




More information about the All-commits mailing list