[llvm] [RegisterCoalescer] The COPY with the implicit-def of super register is not coalescable. (PR #169997)

Sander de Smalen via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 1 03:11:35 PST 2025


================
@@ -0,0 +1,24 @@
+# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 6
+# RUN: llc -run-pass register-coalescer -mtriple x86_64-unknown-linux-gnu -o - %s | FileCheck %s
+
+# Checks that we do not merge %1 into %0.
----------------
sdesmalen-arm wrote:

I'm a bit confused why we wouldn't want to coalesce in this case, because both COPY's say they write 64-bits of the %gpr64.

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


More information about the llvm-commits mailing list