llvm-project
[GlobalISel] Do not give a vreg a second def in replaceRegOrBuildCopy
#228906
Merged

[GlobalISel] Do not give a vreg a second def in replaceRegOrBuildCopy #228906

HelloWorldU
HelloWorldU [GlobalISel] Undef debug uses of erased instructions
09f963c7
llvmorg-github-actions llvmorg-github-actions added backend:AArch64
llvmorg-github-actions llvmorg-github-actions added backend:RISC-V
llvmorg-github-actions llvmorg-github-actions added debuginfo
llvmorg-github-actions llvmorg-github-actions added llvm:globalisel
llvmorg-github-actions
HelloWorldU Merge branch 'main' into fix-228874-gisel-salvage-undef
3a65a2cd
HelloWorldU
HelloWorldU Merge branch 'main' into fix-228874-gisel-salvage-undef
a76f88ec
HelloWorldU HelloWorldU changed the title [GlobalISel] Undef debug uses of erased instructions [GlobalISel] Keep debug uses of a def that a combine replaced 31 days ago
HelloWorldU
Snowy1803
Snowy1803 commented on 2026-10-21
HelloWorldU Replace only the uses in replaceRegOrBuildCopy instead of the guard
eb072eb9
HelloWorldU
HelloWorldU HelloWorldU changed the title [GlobalISel] Keep debug uses of a def that a combine replaced [GlobalISel] Only replace the uses in replaceRegOrBuildCopy 31 days ago
HelloWorldU Drop the def restore in tryCombineUnmergeDefs
6141de87
HelloWorldU HelloWorldU requested a review from Snowy1803 Snowy1803 31 days ago
Snowy1803
Snowy1803 commented on 2026-10-22
HelloWorldU Copy into a new vreg in replaceRegOrBuildCopy
0d1a3192
HelloWorldU HelloWorldU requested a review from Snowy1803 Snowy1803 30 days ago
HelloWorldU Keep DstReg on the COPY and rename the artifact's def instead
c05122ec
HelloWorldU HelloWorldU changed the title [GlobalISel] Only replace the uses in replaceRegOrBuildCopy [GlobalISel] Do not give a vreg a second def in replaceRegOrBuildCopy 29 days ago
HelloWorldU
jmorse
lywei-intel
HelloWorldU Drop tracksRegLiveness from the new tests
24a0c825
HelloWorldU
Snowy1803
Snowy1803 approved these changes on 2026-11-19
HelloWorldU
Snowy1803 Snowy1803 merged 4520919d into main 2 days ago
HelloWorldU HelloWorldU deleted the fix-228874-gisel-salvage-undef branch 2 days ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone