This is an archive of the discontinued LLVM Phabricator instance.

[tests] Force (some) X86-specific tests to use that target
ClosedPublic

Authored by ikudrin on Mar 18 2022, 5:09 AM.

Details

Summary

These tests are located in 'X86' subfolders which means that they should be compiled for that target. As they did not have the target specified explicitly, they in fact were compiled for a default target triple. Not all targets support all required features for these tests; for example, if NVPTX is used as a default triple, the tests fail. The patch makes the tests run for 'x86_64', thus they pass regardless of the default target.

Diff Detail

Event Timeline

ikudrin created this revision.Mar 18 2022, 5:09 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 18 2022, 5:09 AM
ikudrin requested review of this revision.Mar 18 2022, 5:09 AM
MaskRay accepted this revision.Mar 18 2022, 9:29 PM

Thanks!

This revision is now accepted and ready to land.Mar 18 2022, 9:29 PM