[llvm] [JumpThreading] Add a hook to override options (PR #111826)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 11 04:44:36 PDT 2024


================
@@ -1810,6 +1810,21 @@ class TargetTransformInfo {
   /// \return The maximum number of function arguments the target supports.
   unsigned getMaxNumArgs() const;
 
+  /// Returns options for jump threading.
+  struct JumpThreadingOptions {
----------------
arsenm wrote:

Missing the parsing code and tests for it (e.g. see other pass parameters in PassBuilder.cpp) 

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


More information about the llvm-commits mailing list