[all-commits] [llvm/llvm-project] e549d5: [InstCombine] Test cases for D155718

Dhruv Chawla via All-commits all-commits at lists.llvm.org
Wed Aug 16 08:40:13 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e549d578cc2d1aa2cba540eb58f10b03a2f377ef
      https://github.com/llvm/llvm-project/commit/e549d578cc2d1aa2cba540eb58f10b03a2f377ef
  Author: Dhruv Chawla <44582521+dc03 at users.noreply.github.com>
  Date:   2023-08-16 (Wed, 16 Aug 2023)

  Changed paths:
    A llvm/test/Transforms/InstCombine/icmp-fold-into-phi.ll

  Log Message:
  -----------
  [InstCombine] Test cases for D155718

Differential Revision: https://reviews.llvm.org/D155726


  Commit: d53b3df570e359d175d6e7a825ad1a02f9bc80a3
      https://github.com/llvm/llvm-project/commit/d53b3df570e359d175d6e7a825ad1a02f9bc80a3
  Author: Dhruv Chawla <44582521+dc03 at users.noreply.github.com>
  Date:   2023-08-16 (Wed, 16 Aug 2023)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
    M llvm/test/Analysis/ValueTracking/known-power-of-two-urem.ll
    M llvm/test/Transforms/InstCombine/icmp-fold-into-phi.ll

  Log Message:
  -----------
  [InstCombine] Remove unneeded isa<PHINode> check in foldOpIntoPhi

This check is redundant as it is covered by the call to
isPotentiallyReachable.

Depends on D155726.

Differential Revision: https://reviews.llvm.org/D155718


Compare: https://github.com/llvm/llvm-project/compare/5d9ccd7a9693...d53b3df570e3


More information about the All-commits mailing list