aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objdump/llvm-objdump.cpp
diff options
context:
space:
mode:
authorArthur Eubanks <aeubanks@google.com>2024-01-19 15:11:18 -0700
committerGitHub <noreply@github.com>2024-01-19 14:11:18 -0800
commit86eaf6083b2cd27b8811f4791ad2eb8dacbb0e5f (patch)
treedcfb059bc8d3f4b0668a4340bb264e46a5b674a2 /llvm/tools/llvm-objdump/llvm-objdump.cpp
parentcd05ade13a66d4fb2daff489b2c02ac1ae2070d1 (diff)
downloadllvm-86eaf6083b2cd27b8811f4791ad2eb8dacbb0e5f.zip
llvm-86eaf6083b2cd27b8811f4791ad2eb8dacbb0e5f.tar.gz
llvm-86eaf6083b2cd27b8811f4791ad2eb8dacbb0e5f.tar.bz2
[X86] Refine X86DAGToDAGISel::isSExtAbsoluteSymbolRef() (#76191)
We just need to check if the global is large or not. In the kernel code model, globals are in the negative 2GB of the address space, so globals can be a sign extended 32-bit immediate. In other code models, small globals are in the low 2GB of the address space, so sign extending them is equivalent to zero extending them.
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions