[all-commits] [llvm/llvm-project] 6b91d1: llvm-reduce: Fix assert on invokes with catchswitch

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu Oct 10 06:52:33 PDT 2024


  Branch: refs/heads/users/arsenm/llvm-reduce-issue111817
  Home:   https://github.com/llvm/llvm-project
  Commit: 6b91d1ddf44467d4db8563d56cb2a6dd0078dfbd
      https://github.com/llvm/llvm-project/commit/6b91d1ddf44467d4db8563d56cb2a6dd0078dfbd
  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

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