tensorflow / mlir

"Multi-Level Intermediate Representation" Compiler Infrastructure
1.74k stars 260 forks source link

Integer set + operands / affine if op canonicalization #112

Closed bondhugula closed 5 years ago

bondhugula commented 5 years ago

Doesn't need extensive testing since canonicalizeSetAndOperands just reuses canonicalizeMapAndOperands' logic, and the latter is tested on affine.apply map + operands; the new method works the same way on an integer set + operands of an affine if op for example.

Signed-off-by: Uday Bondhugula uday@polymagelabs.com