llvm-project
236f938e - [CodeGen] Provide a target independent default for optimizeLoadInst [NFC]

Commit
1 year ago
[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.
Author
Committer
Parents
Loading