[all-commits] [llvm/llvm-project] 9839b8: llvm-reduce: Fix assert on invokes with catchswitc...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu Oct 10 08:32:27 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9839b8cfb477866b8610714976cc6599f32f63e6
      https://github.com/llvm/llvm-project/commit/9839b8cfb477866b8610714976cc6599f32f63e6
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-10-10 (Thu, 10 Oct 2024)

  Changed paths:
    A llvm/test/tools/llvm-reduce/issue111817-catchswitch-assert.ll
    M llvm/tools/llvm-reduce/deltas/ReduceBasicBlocks.cpp

  Log Message:
  -----------
  llvm-reduce: Fix assert on invokes with catchswitch (#111838)

This is the minimal change to avoid the assert. There's an API flaw in
invoke instructions where getLandingPad assumes all invoke unwind
blocks have landingpads, when some have catchswitch instead.

Fixes #111817



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list