summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-01-16 21:03:09 +0100
committerNikita Popov <nikita.ppv@gmail.com>2020-01-17 17:56:20 +0100
commit2ca092f3209579fde7a38ade511c1bbcef213c36 (patch)
tree83cc1c038622f664ddc85ae5b9d636ef53d04f55 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent2d0d4235a282e0f900d31ac1054aafc0c526245c (diff)
[InstCombine] Support disabling expensive combines in opt
Currently, there is no way to disable ExpensiveCombines when doing a standalone opt -instcombine run, as that's the default, and the opt option can currently only be used to force enable, not to force disable. The only way to disable expensive combines is via -O1 or -O2, but that of course also runs the rest of the kitchen sink... This patch allows using opt -instcombine -expensive-combines=0 to run InstCombine without ExpensiveCombines. Differential Revision: https://reviews.llvm.org/D72861
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions