[all-commits] [llvm/llvm-project] 4a9ff2: [InstCombine] Fix freeze instruction getting inser...

Danila Malyutin via All-commits all-commits at lists.llvm.org
Thu Aug 18 07:44:10 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4a9ff289fbaa76e8a6c2ea0d566ed2aafedefe86
  Author: Danila Malyutin <dmalyutin at azul.com>
  Date:   2022-08-18 (Thu, 18 Aug 2022)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
    A llvm/test/Transforms/InstCombine/freeze-landingpad.ll

  Log Message:
  [InstCombine] Fix freeze instruction getting inserted before landingpad

The code would use first non-phi instruction as an insertion point, however
this could lead to freeze getting inserted between phi and landingpad
causing a verifier assert.

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

More information about the All-commits mailing list