[llvm-branch-commits] [llvm] [Dexter] Add !type and !type/all nodes to test variable types (PR #204159)

Orlando Cazalet-Hyams via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Jun 29 03:28:23 PDT 2026


================
@@ -257,13 +258,15 @@ def collect_expects_to_rewrite(
         ):
             if expected_value is not None:
                 return
-            if isinstance(expect, ValueAll):
+            if expect.get_watched_scope() is not None:
----------------
OCHyams wrote:

why not if `isinstance(expect, ExpectAll)`?

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


More information about the llvm-branch-commits mailing list