[MSSA] Fix expensive checks build
authorNikita Popov <npopov@redhat.com>
Mon, 1 Aug 2022 05:28:36 +0000 (07:28 +0200)
committerNikita Popov <npopov@redhat.com>
Mon, 1 Aug 2022 05:28:52 +0000 (07:28 +0200)
llvm/lib/Analysis/MemorySSA.cpp

index d2466cf..30e85dc 100644 (file)
@@ -450,8 +450,7 @@ checkClobberSanity(const MemoryAccess *Start, MemoryAccess *ClobberAt,
         if (MD == Start)
           continue;
 
-        assert(!instructionClobbersQuery(MD, MAP.second, Query.Inst, AA)
-                    .IsClobber &&
+        assert(!instructionClobbersQuery(MD, MAP.second, Query.Inst, AA) &&
                "Found clobber before reaching ClobberAt!");
         continue;
       }