[all-commits] [llvm/llvm-project] 57aaee: [InstCombine] Pass ICmpInsts to foldAndOrOfICmpsUs...

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Apr 29 03:46:46 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 57aaeefc180f44a1eff76998e5519e962ff79e9a
      https://github.com/llvm/llvm-project/commit/57aaeefc180f44a1eff76998e5519e962ff79e9a
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-04-29 (Fri, 29 Apr 2022)

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

  Log Message:
  -----------
  [InstCombine] Pass ICmpInsts to foldAndOrOfICmpsUsingRanges() (NFC)

Pass the whole instruction rather than unpacking it. This makes it
easier to reuse the function in another place, as the entire
logic is encapsulated.




More information about the All-commits mailing list