[all-commits] [llvm/llvm-project] 2a5748: [SelectionDAGBuilder] Replace asserts inside LLVM_...

David Green via All-commits all-commits at lists.llvm.org
Wed May 27 02:46:49 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2a574828c62f344859188796fc615ef44dd16327
      https://github.com/llvm/llvm-project/commit/2a574828c62f344859188796fc615ef44dd16327
  Author: David Green <david.green at arm.com>
  Date:   2026-05-27 (Wed, 27 May 2026)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp

  Log Message:
  -----------
  [SelectionDAGBuilder] Replace asserts inside LLVM_DEBUG (#199748)

These assert were inside an LLVM_DEBUG macro, meaning they were very
rarely if ever tested. The second "LowerFormalArguments emitted a value
with the wrong type!" assert would fire in a number of tests so has been
removed. The other was replaced with an all_of assert.

Noticed when looking at #198107 / #199412.



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