[all-commits] [llvm/llvm-project] 4a65e6: [InstCombine] return the result of the GEP of PHI ...

Danila Malyutin via All-commits all-commits at lists.llvm.org
Wed Dec 14 04:06:29 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4a65e6783bee6c155c16944013df8665ec4d4bed
      https://github.com/llvm/llvm-project/commit/4a65e6783bee6c155c16944013df8665ec4d4bed
  Author: Danila Malyutin <dmalyutin at azul.com>
  Date:   2022-12-14 (Wed, 14 Dec 2022)

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

  Log Message:
  -----------
  [InstCombine] return the result of the GEP of PHI transformation early

Without this change this function could return nullptr if no further
transformation took place making InstCombine pass incorrectly report no
IR changes preventing analyses invalidation.

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




More information about the All-commits mailing list