[llvm] [LAA] refactor program logic (NFC) (PR #92101)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue May 14 05:02:25 PDT 2024


================
@@ -540,7 +540,7 @@ class RuntimePointerChecking {
   /// Try to create add a new (pointer-difference, access size) pair to
   /// DiffCheck for checking groups \p CGI and \p CGJ. If pointer-difference
   /// checks cannot be used for the groups, set CanUseDiffCheck to false.
-  void tryToCreateDiffCheck(const RuntimeCheckingPtrGroup &CGI,
+  bool tryToCreateDiffCheck(const RuntimeCheckingPtrGroup &CGI,
----------------
fhahn wrote:

Could you the `tryToCreateDiffCheck` changes off to a separate patch>

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


More information about the llvm-commits mailing list