[all-commits] [llvm/llvm-project] b3ce98: [SelectionDAG] Use reportFatalUsageError() for inv...

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Jun 4 00:33:26 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b3ce9883f32e3b5b16e2b5fa54c3d98e85b66869
      https://github.com/llvm/llvm-project/commit/b3ce9883f32e3b5b16e2b5fa54c3d98e85b66869
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2025-06-04 (Wed, 04 Jun 2025)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    A llvm/test/CodeGen/X86/invalid-operand-bundle-call.ll
    A llvm/test/CodeGen/X86/invalid-operand-bundle-callbr.ll
    A llvm/test/CodeGen/X86/invalid-operand-bundle-invoke.ll

  Log Message:
  -----------
  [SelectionDAG] Use reportFatalUsageError() for invalid operand bundles (#142613)

Replace the asserts with reportFatalUsageError(), as these can be
reached with invalid user-provided IR.

Fixes https://github.com/llvm/llvm-project/issues/142531.



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