Issue |
131701
|
Summary |
MachineFunctionPass properties violations should be a fatal error in all builds, not an assert
|
Labels |
llvm:codegen
|
Assignees |
|
Reporter |
arsenm
|
This code should not be conditional on NDEBUG, and should use report_fatal_error: https://github.com/llvm/llvm-project/blob/a2fbc9a8e3d3822cea6f14299285ff0a440d1bf3/llvm/lib/CodeGen/MachineFunctionPass.cpp#L57
This is easily encounterable when working with MIR directly, so should be treated as a developer facing report_fatal_error which can be relied on
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs