diff options
author | Shengchen Kan <shengchen.kan@intel.com> | 2020-05-25 10:18:44 +0800 |
---|---|---|
committer | Shengchen Kan <shengchen.kan@intel.com> | 2020-05-28 13:17:14 +0800 |
commit | 49544499954912c5a0f02014de53e0bc0234c7af (patch) | |
tree | 9ced214629ec32141189e8c141076b42d41562d9 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | c1d5b831b1cb095370a01e1749a8e9746f8f3de6 (diff) | |
download | llvm-49544499954912c5a0f02014de53e0bc0234c7af.zip llvm-49544499954912c5a0f02014de53e0bc0234c7af.tar.gz llvm-49544499954912c5a0f02014de53e0bc0234c7af.tar.bz2 |
[Driver][X86] Support branch align options with LTO
Summary: Before this patch, we use two different ways to pass options to align branch
depending on whether LTO is enabled. For example, `-mbranches-within-32B-boundaries`
w/o LTO and `-Wl,-plugin-opt=-x86-branches-within-32B-boundaries` w/ LTO. It's
inconvenient, so this patch unifies the way: we only need to pass options like
`-mbranches-within-32B-boundaries` to align branches, no matter LTO is enabled or not.
Differential Revision: https://reviews.llvm.org/D80289
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions