Avoid divisions.
authorRui Ueyama <ruiu@google.com>
Sat, 20 Jan 2018 00:14:16 +0000 (00:14 +0000)
committerRui Ueyama <ruiu@google.com>
Sat, 20 Jan 2018 00:14:16 +0000 (00:14 +0000)
commit2f8af79927c5902900a7ddeef2300ea92a9fcf22
tree2dd82f0904259f5282bcb5eebdb1db37cb1b03a6
parent6f10bd21f08b045305ccc1abf4e43ff5a9104bdd
Avoid divisions.

Compiler doesn't know the fact that Config->WordSize * 8 is always a
power of two, so it had to use the div instruction to divide some
number with C.

llvm-svn: 323014
lld/ELF/SyntheticSections.cpp