When we encounter an else, catch, or catch_all, we currently just
push the structure NestingType and don't preserve the original if
and try's signature. So after we pass else/catch/catch_all, we
can't check if the values on stack have the correct types when we
encounter end_if or end_try. This CL fixes the issue, and modifies
the existing test to be correct (some of them had try without
catch).
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Time | Test | |
---|---|---|
60,070 ms | x64 debian > MLIR.Examples/standalone::test.toy |