[llvm] [GVN] Add MemorySSA checks in tests 1/N (PR #130261)
Madhur Amilkanthwar via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 20 03:35:41 PDT 2025
================
@@ -1,12 +1,16 @@
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
; RUN: opt < %s -passes=gvn -verify-analysis-invalidation -S | FileCheck %s
+; RUN: opt < %s -passes='require<memoryssa>,gvn' -verify-analysis-invalidation -S | FileCheck --check-prefix=CHECK-MSSA %s
----------------
madhur13490 wrote:
I get hit by assertion.
`GVN.cpp:844: llvm::PreservedAnalyses llvm::GVNPass::run(llvm::Function &, llvm::FunctionAnalysisManager &): Assertion `!MemDep && "On-demand computation of MemSSA implies that MemDep is disabled!"' failed.`
Does it require some more setup? Is it expected to work at all?
https://github.com/llvm/llvm-project/pull/130261
More information about the llvm-commits
mailing list