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

[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.
parent 7bd17212
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