[all-commits] [llvm/llvm-project] 83ca70: X86: Remove stale EFLAGS live range when convertin...
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Tue Sep 8 23:35:06 PDT 2026
Branch: refs/heads/users/arsenm/codegen/x86-convertto3addr-eflags-lis
Home: https://github.com/llvm/llvm-project
Commit: 83ca7067b298d20f79fc4e3184869f033819021a
https://github.com/llvm/llvm-project/commit/83ca7067b298d20f79fc4e3184869f033819021a
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2026-09-09 (Wed, 09 Sep 2026)
Changed paths:
M llvm/lib/Target/X86/X86InstrInfo.cpp
A llvm/test/CodeGen/X86/twoaddr-lea-eflags-liveintervals.ll
Log Message:
-----------
X86: Remove stale EFLAGS live range when converting ADD to LEA
convertToThreeAddress may rewrite an EFLAGS-clobbering ADD into an LEA, which
does not define EFLAGS. hasLiveCondCodeDef guarantees the EFLAGS def was dead, so
drop its LiveIntervals value, otherwise the verifier would fail.
Fixes verifier errors with -early-live-intervals.
Co-authored-by: Claude (Claude-Opus-4.8)
Commit: b5cdef27f10b6d2a80000e2888b6941c055ab577
https://github.com/llvm/llvm-project/commit/b5cdef27f10b6d2a80000e2888b6941c055ab577
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2026-09-09 (Wed, 09 Sep 2026)
Changed paths:
M llvm/lib/Target/X86/X86InstrInfo.cpp
M llvm/test/CodeGen/X86/twoaddr-lea-eflags-liveintervals.ll
Log Message:
-----------
review feedback
Compare: https://github.com/llvm/llvm-project/compare/bc82f7161dbb...b5cdef27f10b
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list