[llvm] Support BranchProbabilityInfo in update_analyze_test_checks.py (PR #72943)

Matthias Braun via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 21 15:51:44 PST 2023


================
@@ -773,12 +781,7 @@ def process_run_line(
             )
             if "analysis" in m.groupdict():
                 analysis = m.group("analysis")
-                supported_analyses = {
-                    "cost model analysis",
-                    "scalar evolution analysis",
-                    "loop access analysis",
-                }
-                if analysis.lower() not in supported_analyses:
----------------
MatzeB wrote:

I don't think this normalization added anything. It did make it harder to search for the list of approved analyses though, so I used the original spelling from the code now.

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


More information about the llvm-commits mailing list