[all-commits] [llvm/llvm-project] 155654: [InstCombine] Clean up one-hot merge optimization ...

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue May 11 14:25:23 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 15565403722ec37d8b1a3ee8625ee2e8efcd96ee
      https://github.com/llvm/llvm-project/commit/15565403722ec37d8b1a3ee8625ee2e8efcd96ee
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-05-11 (Tue, 11 May 2021)

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

  Log Message:
  -----------
  [InstCombine] Clean up one-hot merge optimization (NFC)

Remove the requirement that the instruction is a BinaryOperator,
make the predicate check more compact and use slightly more
meaningful naming for the and operands.




More information about the All-commits mailing list