[all-commits] [llvm/llvm-project] f000ae: [X86] Hoist getMOVriOpcode to X86InstrInfo.h and s...
Reid Kleckner via All-commits
all-commits at lists.llvm.org
Mon Jun 22 13:31:35 PDT 2026
Branch: refs/heads/users/rnk/x86-movri-op
Home: https://github.com/llvm/llvm-project
Commit: f000ae9195049a3b4983dc34187561e8aa514438
https://github.com/llvm/llvm-project/commit/f000ae9195049a3b4983dc34187561e8aa514438
Author: Reid Kleckner <rkleckner at nvidia.com>
Date: 2026-06-22 (Mon, 22 Jun 2026)
Changed paths:
M llvm/lib/Target/X86/GISel/X86InstructionSelector.cpp
M llvm/lib/Target/X86/X86FastISel.cpp
M llvm/lib/Target/X86/X86FrameLowering.cpp
M llvm/lib/Target/X86/X86InstrInfo.cpp
M llvm/lib/Target/X86/X86InstrInfo.h
Log Message:
-----------
[X86] Hoist getMOVriOpcode to X86InstrInfo.h and share it, NFC
The x86 backend often needs to materialize potentially 64-bit immediates
into registers, and the logic to pick between the available opcodes
exists in 3 places at least. Move this to X86InstrInfo.h so we can share
it over the x86 backend without copying it.
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