circuitous icon indicating copy to clipboard operation
circuitous copied to clipboard

Optimize arithmetic identity operations away

Open sabastiaan opened this issue 2 years ago • 0 comments

For mov rax, [rax], 48 8b 00 it generates the following sub trees under read_constraint.

Mul 0, op2 can have their entire subtree removed A add 0, op2 can have op2 be propegated to where the add node was

image image

sabastiaan avatar Jun 02 '22 14:06 sabastiaan