[all-commits] [llvm/llvm-project] 0aabda: [InstCombine] Combine code for and/or of icmps (NFC)

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Nov 9 12:18:50 PST 2021


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

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

  Log Message:
  -----------
  [InstCombine] Combine code for and/or of icmps (NFC)

The implementation for and/or is the same, apart from the choice
of exactIntersectWith() vs exactUnionWith(). Extract a common
function to make future extension easier.




More information about the All-commits mailing list