Unverified Commit b3e353d2 authored by Arthur Eubanks's avatar Arthur Eubanks Committed by GitHub
Browse files

[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.
parent eccc1cca
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment