aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h
diff options
context:
space:
mode:
authorChenguang Wang <w3cing@gmail.com>2025-10-09 16:19:47 -0700
committerGitHub <noreply@github.com>2025-10-09 16:19:47 -0700
commita75565a54401571b896e1a3c60939e4dcdc0b13a (patch)
tree11b4ad2cde8294adbf99ac3ffded32eb307b81fc /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h
parent9e0d3bcbf2a6597353c3ab5844941b92c4a2e70e (diff)
downloadllvm-a75565a54401571b896e1a3c60939e4dcdc0b13a.zip
llvm-a75565a54401571b896e1a3c60939e4dcdc0b13a.tar.gz
llvm-a75565a54401571b896e1a3c60939e4dcdc0b13a.tar.bz2
[mlir] Execute same operand name constraints before user constraints. (#162526)
For a pattern like this: Pat<(MyOp $x, $x), (...), [(MyCheck $x)]>; The old implementation generates: Pat<(MyOp $x0, $x1), (...), [(MyCheck $x0), ($x0 == $x1)]>; This is not very straightforward, because the $x name appears in the source pattern; it's attempting to assume equality check will be performed as part of the source pattern matching. This commit moves the equality checks before the other constraints, i.e.: Pat<(MyOp $x0, $x1), (...), [($x0 == $x1), (MyCheck $x0)]>;
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h')
0 files changed, 0 insertions, 0 deletions