On 07/31/2015 12:18 PM, Michael Collison wrote:
Hi Jeff,
Yes I will create a test case. I'm not quite sure what to check for even
in the machine dependent test case. It's quite possible for the
instructions that are generated to change over time.
I think we're going to want to look at the gimple IR and search for the
MIN/MAX expressions rather than the instructions. Given we don't know
where the transformation is going to land (yet), you can probably start
with -fdump-tree-optimized and scanning the .optimized dump.
We can still do that and have the test be target specific.
jeff