> Well, it doesn't seem like there's a lot of difference between doing > it in the generic expander bits vs target expander bits -- the former > just calls into the latter for the most part. Thus if the > subreg-promoted state is available in the target expander, I'd expect > it to be available in the generic expander.
Ah, sorry I meant in the [sign|zero]extend expanders rather than the compare expanders in order to catch promoted subregs from other origins as well. Maybe that doesn't work, though? Regards Robin