[llvm] [JumpThreading] Thread over BB with only an unconditional branch (PR #86312)

via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 16 00:03:51 PDT 2024


================
@@ -21,7 +21,7 @@ declare void @quux()
 ; booleans where at least one operand is true/false/undef.
 
 ;.
-; CHECK: @[[ANCHOR:[a-zA-Z0-9_$"\\.-]+]] = constant [3 x ptr] [ptr blockaddress(@test_indirectbr, [[L1:%.*]]), ptr inttoptr (i32 1 to ptr), ptr blockaddress(@test_indirectbr, [[L3:%.*]])]
+; CHECK-BPI: @anchor = constant [3 x ptr] [ptr blockaddress(@test_indirectbr, %L1), ptr inttoptr (i32 1 to ptr), ptr blockaddress(@test_indirectbr, %L3)]
----------------
XChy wrote:

I have no idea about it, `update_test_checks` replaces it even without this patch. Seems the default behavior of multiple prefixes changes for globals.

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


More information about the llvm-commits mailing list