[llvm] [X86] Fix more medium code model addressing modes (PR #75641)
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 21 10:14:11 PST 2023
================
@@ -1910,20 +1915,12 @@ bool X86DAGToDAGISel::matchAddress(SDValue N, X86ISelAddressMode &AM) {
// Post-processing: Convert foo to foo(%rip), even in non-PIC mode,
// because it has a smaller encoding.
----------------
rnk wrote:
Aha, this is probably doing the most work to fix small / medium code model discrepancies.
https://github.com/llvm/llvm-project/pull/75641
More information about the llvm-commits
mailing list