aboutsummaryrefslogtreecommitdiff
path: root/libgomp/testsuite/libgomp.c-c++-common/metadirective-target-device.c
diff options
context:
space:
mode:
authorTamar Christina <tamar.christina@arm.com>2025-01-16 12:54:44 +0000
committerTamar Christina <tamar.christina@arm.com>2025-01-16 12:54:44 +0000
commit80b52301e8ee9a211ee882863b32caf613fd0a78 (patch)
tree743f8116b34a2f195a416203bdc3d68a961c61f7 /libgomp/testsuite/libgomp.c-c++-common/metadirective-target-device.c
parent3d678ad905f3d227525876c6b1136f351e823566 (diff)
downloadgcc-80b52301e8ee9a211ee882863b32caf613fd0a78.zip
gcc-80b52301e8ee9a211ee882863b32caf613fd0a78.tar.gz
gcc-80b52301e8ee9a211ee882863b32caf613fd0a78.tar.bz2
middle-end: Add early break conditions to vect-switch-search-line-fast.c [PR118451]
When this test was added initially it didn't add the early break effective target tests. This means that the test was "passing" (as in, it was failing to vectorize) because many targets don't support early break. But the test should not have been run for these targets. When the vectorizer learned PFA the test started passing for 32-bit targets. I had adjusted the testcase but fail to notice the requirements were wrong. Thus this adds the extra guards, and on targets that don't support early break this test will move to UNSUPPORTED, which is what it should have been all along... gcc/testsuite/ChangeLog: PR testsuite/118451 * gcc.dg/vect/vect-switch-search-line-fast.c: Add early_break guards.
Diffstat (limited to 'libgomp/testsuite/libgomp.c-c++-common/metadirective-target-device.c')
0 files changed, 0 insertions, 0 deletions