Open wenpen opened 2 months ago
I know it's a verification error about SwitchOp, do we have some methods to print more information (e.g. the illegal cir body)?
do we have some methods to print more information (e.g. the illegal cir body)?
Try -Xclang -clangir-disable-verifier -Xclang -clangir-disable-passes
Interesting, it usually says at least something about what failed to verify. Anyways, use the suggestions from Lancern to isolate the CIR output that can help you understand the bad IR