[all-commits] [llvm/llvm-project] 2366d5: [X86] Fix more medium code model addressing modes ...
Arthur Eubanks via All-commits
all-commits at lists.llvm.org
Thu Dec 21 10:41:10 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2366d53d8d8726b73408597b534d2f910c3d3e6d
https://github.com/llvm/llvm-project/commit/2366d53d8d8726b73408597b534d2f910c3d3e6d
Author: Arthur Eubanks <aeubanks at google.com>
Date: 2023-12-21 (Thu, 21 Dec 2023)
Changed paths:
M llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/code-model-elf.ll
M llvm/test/CodeGen/X86/fast-isel-large-object.ll
M llvm/test/CodeGen/X86/fold-add.ll
Log Message:
-----------
[X86] Fix more medium code model addressing modes (#75641)
By looking at whether a global is large instead of looking at the code
model.
This also fixes references to large data in the small code model.
We now always fold any 32-bit offset into the addressing mode with the
large code model since it uses 64-bit relocations.
More information about the All-commits
mailing list