You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying the new merged pattern language. Specifically, my goal is to create a function for the matched pattern and rewrite the pattern with a function call, which is very similar to fusion.
However, the following example encounters segmentation fault. I breifly located the position and found that it was in dominator analysis. Specifically in LeastCommonAncestor. It crashes when visiting an input node with null parent.
Here is the code snippet to reproduce the problem. I am not sure if I wrote the pattern in the right way, but it works fine with pattern.match.
I was trying the new merged pattern language. Specifically, my goal is to create a function for the matched pattern and rewrite the pattern with a function call, which is very similar to fusion.
However, the following example encounters segmentation fault. I breifly located the position and found that it was in dominator analysis. Specifically in
LeastCommonAncestor
. It crashes when visiting an input node with null parent.Here is the code snippet to reproduce the problem. I am not sure if I wrote the pattern in the right way, but it works fine with
pattern.match
.cc @mbrookhart
Output:
The text was updated successfully, but these errors were encountered: