[all-commits] [llvm/llvm-project] 236f93: [CodeGen] Provide a target independent default for...
Philip Reames via All-commits
all-commits at lists.llvm.org
Wed Mar 26 08:53:07 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 236f938ef65cc9028801303bb0bd914afca37836
https://github.com/llvm/llvm-project/commit/236f938ef65cc9028801303bb0bd914afca37836
Author: Philip Reames <preames at rivosinc.com>
Date: 2025-03-26 (Wed, 26 Mar 2025)
Changed paths:
M llvm/include/llvm/CodeGen/TargetInstrInfo.h
M llvm/lib/CodeGen/TargetInstrInfo.cpp
M llvm/lib/Target/X86/X86InstrInfo.cpp
M llvm/lib/Target/X86/X86InstrInfo.h
Log Message:
-----------
[CodeGen] Provide a target independent default for optimizeLoadInst [NFC]
This just moves the x86 implementation into generic code since it appears
to be suitable for any target. The heart of this transform is inside
foldMemoryOperand so other targets won't actually kick in until they
implement said API. This just removes one piece to implement in the
process of enabling foldMemoryOperand.
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