This is an archive of the discontinued LLVM Phabricator instance.

[X86] Replace -mcpu with -mattr in several tests
ClosedPublic

Authored by mbodart on Apr 26 2016, 4:28 PM.

Details

Summary

In preparation for the scheduling changes in D19138, eliminate unnecessary use of -mcpu in several tests,
replacing it with -mattr=+sse2 where relevant (the tests use SSE2 instructions), or simply removing it.

This allows the tests to pass with or without the D19138 changes.

Diff Detail

Repository
rL LLVM

Event Timeline

mbodart updated this revision to Diff 55118.Apr 26 2016, 4:28 PM
mbodart retitled this revision from to [X86] Replace -mcpu with -mattr in several tests.
mbodart updated this object.
mbodart added a reviewer: spatel.
mbodart added a subscriber: llvm-commits.
spatel accepted this revision.Apr 26 2016, 4:33 PM
spatel edited edge metadata.

LGTM.
Thank you for the clean up. Feel free to check in this kind of change without pre-commit review. :)

This revision is now accepted and ready to land.Apr 26 2016, 4:33 PM
This revision was automatically updated to reflect the committed changes.