[llvm] [PHIElimination] Ensure correct copy emission for `INLINEASM_BR` indirect targets (PR #173396)
Antonio Frighetto via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 23 11:00:24 PST 2025
================
@@ -0,0 +1,88 @@
+# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 6
+# RUN: llc -mtriple=x86_64-- -verify-machineinstrs -o - %s -run-pass=livevars,phi-node-elimination | FileCheck %s
+# RUN: llc -mtriple=x86_64-- -verify-machineinstrs -o - %s --passes='require<live-vars>,phi-node-elimination' -verify-each | FileCheck %s
+
+--- |
+ define i64 @inlineasm_br_different_indirect_target(i1 %cmp) {
----------------
antoniofrighetto wrote:
Added, thanks (squashed and rebased, and added it to the pre-commit test so as to show the diffs).
https://github.com/llvm/llvm-project/pull/173396
More information about the llvm-commits
mailing list