[llvm] [RegAlloc] Fix register's live range for early-clobber (PR #152895)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 19 00:57:09 PDT 2025
================
@@ -0,0 +1,102 @@
+# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 5
+# RUN: llc -mtriple=i386-unknown-linux-gnu -start-before=twoaddressinstruction -stop-after=postrapseudos -verify-machineinstrs -o - %s | FileCheck %s
+
+# Test register live range that is split from rematerializing. The live range should
+# start with Slot_EarlyClobber instead of Slot_Register. Machineverifer can check it.
+
+--- |
----------------
LuoYuanke wrote:
Looks good!
https://github.com/llvm/llvm-project/pull/152895
More information about the llvm-commits
mailing list