[llvm] [InlineOrder] Fix assertion failure in CostBenefitPriority (PR #195564)

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Mon May 4 10:00:35 PDT 2026


================
@@ -0,0 +1,11 @@
+; RUN: opt -passes='module-inline' -inline-priority-mode=cost-benefit -S < %s
----------------
aeubanks wrote:

it still is a valid test without assertions, so no

we probably should `| FileCheck %s` and use `update_test_checks.py` just to double check the test is actually doing something

https://github.com/llvm/llvm-project/pull/195564


More information about the llvm-commits mailing list