[llvm] Float2Int: Replace -float2int-max-integer-bw cl::opt with pass parameter (PR #223477)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 14 11:03:05 PDT 2026


arsenm wrote:

> What is the point of converting this to a pass option? Are you planning on adjusting the size in the pipeline builder or something? 

Purging easy cl::opts. Anything only used in tests should be converted to pass args 

> Right now it seems like this value never changes outside of tests which means we should maybe just remove the option altogether...

Testing the pass itself is a legitimate use case 

https://github.com/llvm/llvm-project/pull/223477


More information about the llvm-commits mailing list