Skip to content
Commit 9e3b928e authored by Chris Lattner's avatar Chris Lattner Committed by jpienaar
Browse files

Implement a super sketched out pattern match/rewrite framework and a sketched

out canonicalization pass to drive it, and a simple (x-x) === 0 pattern match
as a test case.

There is a tremendous number of improvements that need to land, and the
matcher/rewriter and patterns will be split out of this file, but this is a
starting point.

PiperOrigin-RevId: 216788604
parent bbfba8d3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment