Coverage of backend rules

Paulo J. Matos pocmatos@gmail.com
Wed May 12 16:39:00 GMT 2010


On Tue, May 11, 2010 at 3:26 PM, Ian Lance Taylor <iant@google.com> wrote:

> For define_insn you can use the -da option, and scan the debug files
> for the matched insn names.  For define_expand you can reliably use
> profiling information to look for calls to gen_NAME.
>
> This approach won't tell you whether you are testing all alternatives
> of all define_insns.  I don't know of a reasonable way to do that.
>

Thanks for the tips. I will give it a go at trying to automate this.

Cheers,
-- 
PMatos



More information about the Gcc mailing list