aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Parallel.cpp
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2020-07-08 10:27:31 -0700
committerFangrui Song <maskray@google.com>2020-07-08 10:27:31 -0700
commit169ec2d6b006ea31114a7d6ddc3f002d3cb4acb3 (patch)
tree6c6eff6c9c482ccce252fed47e63b63dc4c57cb8 /llvm/lib/Support/Parallel.cpp
parente89c075f3251bc4778dceb890388483151f24659 (diff)
downloadllvm-169ec2d6b006ea31114a7d6ddc3f002d3cb4acb3.zip
llvm-169ec2d6b006ea31114a7d6ddc3f002d3cb4acb3.tar.gz
llvm-169ec2d6b006ea31114a7d6ddc3f002d3cb4acb3.tar.bz2
[ELF] Rename canRelax to toExecRelax. NFC
In the absence of TLS relaxation (rewrite of code sequences), there is still an applicable optimization: [gd]: General Dynamic: resolve DTPMOD to 1 and/or resolve DTPOFF statically All the other relaxations are only performed when transiting to executable (`!config->shared`). Since [gd] is handled differently, we can fold `!config->shared` into canRelax and simplify its use sites. Rename the variable to reflect to new semantics. Reviewed By: grimar, psmith Differential Revision: https://reviews.llvm.org/D83243
Diffstat (limited to 'llvm/lib/Support/Parallel.cpp')
0 files changed, 0 insertions, 0 deletions