This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 05/10/2016 08:05 PM, Richard Biener wrote:
On May 10, 2016 7:02:33 PM GMT+02:00, Jeff Law <law@redhat.com> wrote:Well, not if we take Bernd's idea and create a new backend for testing purposes. If we want to know/test what reload's doing, we cons up the appropriate RTL for that testing backend, set the right flags and call reload() then look at the result.Hmm, I guess that some test cases rely on specific patterns being (not) present so we'd have one backend per testcase ... (Or .md file snippets per testcase).
You could have any pattern you want in such a machine description, and if you run into conflicts or if you want to test different variants, you can have -m switches.
Bernd
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |