This is an archive of the discontinued LLVM Phabricator instance.

[CodeGen][NFC] Fix test/CodeGen/pr45476.cpp to specify target triple.
ClosedPublic

Authored by huihuiz on May 13 2020, 4:50 PM.

Details

Summary

Use explicit target triple to match more accurately the output for libcall
or native atomic.

Similar to D74847, without explicit target triple, this test will fail for ARM.

This patch update test pr45476.cpp to check for both native atomic and libcall.

Diff Detail

Event Timeline

huihuiz created this revision.May 13 2020, 4:50 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 13 2020, 4:50 PM
This revision is now accepted and ready to land.May 13 2020, 5:10 PM
This revision was automatically updated to reflect the committed changes.