[llvm] [InlineCost] Correct the default branch cost for the switch statement (PR #85160)

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 15 10:25:23 PDT 2024


================
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 4
-; RUN: opt %s -S -passes=inline -inline-threshold=21 | FileCheck %s
+; RUN: opt %s -S -passes=inline -inline-threshold=11 | FileCheck %s
----------------
efriedma-quic wrote:

Please fix the FileCheck lines in this file; there's a bunch of checks for stuff like "LOOKUPTABLE" which don't correspond to a RUN line.  (Maybe push this separately.)

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


More information about the llvm-commits mailing list