Commit 0ab1559a authored by Craig Topper's avatar Craig Topper
Browse files

[TableGen] Reorder some checks in TreePatternNode::isIsomorphicTo to speedup...

[TableGen] Reorder some checks in TreePatternNode::isIsomorphicTo to speedup -gen-dag-isel for RISC-V.

Comparing types is quite expensive when hardware modes are being
used. Checking the operator first can let us detect mismatches
earlier without checking types.
parent d94a770f
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment