[all-commits] [llvm/llvm-project] b3e353: [X86] Don't use rip-relative lea to get a function...
Arthur Eubanks via All-commits
all-commits at lists.llvm.org
Fri Dec 15 15:15:32 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b3e353d263f9d6ef061f4e6d89619c72a3553002
https://github.com/llvm/llvm-project/commit/b3e353d263f9d6ef061f4e6d89619c72a3553002
Author: Arthur Eubanks <aeubanks at google.com>
Date: 2023-12-15 (Fri, 15 Dec 2023)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/code-model-elf.ll
Log Message:
-----------
[X86] Don't use rip-relative lea to get a function address in medium static mode (#75656)
This essentially reverts https://reviews.llvm.org/D140593. Somewhere
along the line we properly fixed the medium code model to assume
functions are small, so now we get a 32-bit movl as desired.
More information about the All-commits
mailing list