Skip to content
Commit 8373d338 authored by Owen Anderson's avatar Owen Anderson
Browse files

Give the Reassociate pass a bit more flexibility and autonomy when optimizing expressions.

Particularly, it addresses cases where Reassociate breaks Subtracts but then fails to optimize combinations like I1 + -I2 where I1 and I2 have the same rank and are identical.

Patch by Dmitri Shtilman.

llvm-svn: 219092
parent 2f03c8a3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment