[all-commits] [llvm/llvm-project] d602e7: [X86] Encode global address in small code model
Wei Wang via All-commits
all-commits at lists.llvm.org
Mon Oct 26 23:14:37 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: d602e79a81adceca3ecc0259d6eda305fe9c86c0
https://github.com/llvm/llvm-project/commit/d602e79a81adceca3ecc0259d6eda305fe9c86c0
Author: Wei Wang <apollo.mobility at gmail.com>
Date: 2020-10-26 (Mon, 26 Oct 2020)
Changed paths:
M llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
M llvm/test/CodeGen/X86/br-fold.ll
M llvm/test/CodeGen/X86/critical-edge-split-2.ll
M llvm/test/CodeGen/X86/pr33290.ll
A llvm/test/CodeGen/X86/relocimm-small-model.ll
Log Message:
-----------
[X86] Encode global address in small code model
In small code model, program and its symbols are linked in the lower 2 GB of
the address space. Try encoding global address even when the range is unknown
in such case.
Differential Revision: https://reviews.llvm.org/D89341
More information about the All-commits
mailing list