[Mlir-commits] [mlir] [MLIR][LLVM] Fix memory explosion when converting global variable bodies in ModuleTranslation (PR #82708)

Xiang Li llvmlistbot at llvm.org
Tue Feb 27 06:58:05 PST 2024


python3kgae wrote:

> Hi! This new test only pass if tool was build with debug on. Without it it fails with `mlir-translate: Unknown command line argument '-debug-only=llvm-dialect-to-llvm-ir'. Try: 'mlir-translate --help'`.
> 
> Maybe it's possible to modify the test to check if tool was compiled with debug first?

I saw another test which uses -debug-only added // REQUIRES: asserts, is it good enough to limit the test to debug on?

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


More information about the Mlir-commits mailing list