On Wed, Mar 04, 2015 at 11:09:14AM +0000, Alex Velenko wrote: > I prefer adding notes in CSE instead of adding additional checks in Jump2 > and, if any, other passes, as I think it is more uniform solution and allows > single point fix. Downside is having more notes.
The other downside is that every other RTL producer will have to add these notes as well, or passes that look at this info will have to look at the insns themselves anyway. Not a good trade-off in my opinion. Just add a simple helper function to do these checks (isn't there one already)? Segher