On Sun, May 26, 2019 at 06:46:19PM +0200, Thomas Schwinge wrote: > To establish some suitable testsuite coverage for a task that I'm working > on, I need to do 'scan-tree-dump' of 'lower_omp_target' mapping kinds. > Is the attached OK? > > Any suggestions about whether/how to restrict the (effective?) targets > this gets run for, because no doubt there are target-specific bits at > least in the alignment chosen. The attached test case passes for > x86_64-pc-linux-gnu with '--target_board=unix\{,-m32,-mx32\}'. (I didn't > verify the mappings generated, but just documented the status quo.)
The arrays are emitted in the *.omplower dump, so I think it is much better to scan-tree-dump their content if for whatever reason adding a runtime testcase isn't sufficient over adding further printouts and matching that. Jakub