[llvm] [ValueTracking] Use SimplifyQuery in some public APIs (NFC) (PR #68290)

via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 9 09:54:55 PDT 2023


================
@@ -39,7 +40,6 @@ struct KnownBits;
 class Loop;
 class LoopInfo;
 class MDNode;
-struct SimplifyQuery;
----------------
goldsteinn wrote:

Does LLVM try to adhere to pattern of including minimum number of dependent headers that leaves code compiling? If so would say fwd declare makes more sense.

Otherwise think most people pulling in ValueTracking will also want simplifyquery so leaving in makes sense.

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


More information about the llvm-commits mailing list