[all-commits] [llvm/llvm-project] 277666: X86: Mark the unused defs of FastISel selected div...
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Mon Sep 28 10:25:12 PDT 2026
Branch: refs/heads/users/arsenm/x86/fast-isel-divrem-dead-defs
Home: https://github.com/llvm/llvm-project
Commit: 277666071fd1f64c0b5e408a8334f1fcecaeb7eb
https://github.com/llvm/llvm-project/commit/277666071fd1f64c0b5e408a8334f1fcecaeb7eb
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
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