[all-commits] [llvm/llvm-project] 0213c6: [InstCombine] Use DL-aware constant folding for ph...

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Jun 1 07:02:54 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0213c6d0df1e073b046a3cb6d46c1808ddfa423e
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-06-01 (Thu, 01 Jun 2023)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
    M llvm/test/Transforms/InstCombine/icmp-constant-phi.ll
    M llvm/test/Transforms/InstCombine/indexed-gep-compares.ll

  Log Message:
  [InstCombine] Use DL-aware constant folding for phi compare

Serves the dual purpose of avoiding an extra InstCombine iteration
for the DL-aware folding and removing one icmp constexpr use.

More information about the All-commits mailing list