[llvm] [InstCombine] Preserve profile data with select instructions and binary operators (PR #158375)

Alan Zhao via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 12 15:35:58 PDT 2025


================
@@ -0,0 +1,39 @@
+; RUN: opt < %s -passes=instcombine -S | FileCheck %s
----------------
alanzhao1 wrote:

I just tried `update_test_checks.py` - it doesn't assert that we preserve the branch weights.

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


More information about the llvm-commits mailing list