[LICM] Drop -licm-n2-threshold option
authorNikita Popov <nikita.ppv@gmail.com>
Tue, 17 Aug 2021 20:34:33 +0000 (22:34 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Tue, 17 Aug 2021 20:41:31 +0000 (22:41 +0200)
commite918ba69582bd71ccf706b7c0f103c0b09043f94
tree52890636a60a7554c324043a1727334be636395b
parent108ba4f4a48043067f0735f7f7c6f301045cf9b5
[LICM] Drop -licm-n2-threshold option

This was a diagnostic option used to demonstrate a weakness in
the AST-based LICM implementation. This problem does not exist
in the MSSA-based LICM implementation, which has been enabled
for a long time now. As such, this option is no longer relevant.
llvm/lib/Transforms/Scalar/LICM.cpp
llvm/test/Transforms/LICM/argmemonly-call.ll
llvm/test/Transforms/LICM/invariant.start.ll
llvm/test/Transforms/LICM/read-only-calls.ll