[all-commits] [llvm/llvm-project] 040328: X86: Mark the unused defs of FastISel selected div...
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Mon Sep 28 11:19:43 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 04032854901d949ca4a1b8e57c62fb53969a6ffc
https://github.com/llvm/llvm-project/commit/04032854901d949ca4a1b8e57c62fb53969a6ffc
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2026-09-28 (Mon, 28 Sep 2026)
Changed paths:
M llvm/lib/Target/X86/X86FastISel.cpp
A llvm/test/CodeGen/X86/fast-isel-divrem-dead-defs.ll
Log Message:
-----------
X86: Mark the unused defs of FastISel selected div/rem dead (#227053)
The DIV/IDIV instructions define the quotient, the remainder and the
flags, but X86FastISel::X86SelectDivRem only reads one of the quotient
and remainder. Mark the rest dead when building the instruction instead
of relying on later recomputatios.
Co-authored-by: Claude Opus 5 <noreply at anthropic.com>
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