[llvm] [BranchFolding] Drop undef flag when hoisting common code from successors (PR #205135)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 23 03:45:07 PDT 2026


================
@@ -0,0 +1,127 @@
+# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 6
+# RUN: llc -o - %s -mtriple=x86_64-- -run-pass=branch-folder | FileCheck %s
+
+--- |
----------------
arsenm wrote:

There's nothing guaranteeing the structure is the same and it runs the risk of being misleading. If it's not strictly required (the one case is for aliasing info) it should be maximally stripped 

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


More information about the llvm-commits mailing list