Re: [committed][PATCH] Simplify relationals into simple equality conditionals in DOM

2017-10-02 Thread Trevor Saunders
On Sun, Oct 01, 2017 at 09:22:56AM -0600, Jeff Law wrote: > > A short while ago Martin Liska posted a patch that lowered certain > switch statements into cascading conditionals. > > His work tripped two regressions in the testsuite, both cases where we > did not optimize as well as we should have

[committed][PATCH] Simplify relationals into simple equality conditionals in DOM

2017-10-01 Thread Jeff Law
A short while ago Martin Liska posted a patch that lowered certain switch statements into cascading conditionals. His work tripped two regressions in the testsuite, both cases where we did not optimize as well as we should have. Upon investigation I realized a simple improvement to DOM would fix