[llvm] [SelectionDAG] Optimize BSWAP yet again once more (PR #165292)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 4 20:02:00 PST 2025
================
@@ -142,6 +143,12 @@ static cl::opt<unsigned> ConstpoolPromotionMaxTotal(
cl::desc("Maximum size of ALL constants to promote into a constant pool"),
cl::init(128));
+static cl::opt<bool>
+ EnableOptimizeLogicalImm("arm-enable-logical-imm", cl::Hidden,
+ cl::desc("Enable ARM logical imm instruction "
+ "optimization"),
+ cl::init(true));
----------------
arsenm wrote:
This is too specific, just don't add this?
https://github.com/llvm/llvm-project/pull/165292
More information about the llvm-commits
mailing list